mirror of https://github.com/captn3m0/dotfiles.git
better lock screen
This commit is contained in:
parent
ffef8c0595
commit
7ff6f8374e
|
@ -621,19 +621,21 @@ function sprint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://github.com/uber/makisu
|
# https://github.com/uber/makisu
|
||||||
|
#
|
||||||
function makisu_build() {
|
function makisu_build() {
|
||||||
makisu_version=${MAKISU_VERSION:-v0.1.8}
|
makisu_version=${MAKISU_VERSION:-v0.1.10}
|
||||||
|
cd ${@: -1}
|
||||||
docker run -i --rm --net host \
|
docker run -i --rm --net host \
|
||||||
-v /var/run/docker.sock:/docker.sock \
|
-v /var/run/docker.sock:/docker.sock \
|
||||||
-e DOCKER_HOST=unix:///docker.sock \
|
-e DOCKER_HOST=unix:///docker.sock \
|
||||||
-v $(pwd):/makisu-context \
|
-v $(pwd):/makisu-context \
|
||||||
-v /tmp/makisu-storage:/makisu-storage \
|
-v /tmp/makisu-storage:/makisu-storage \
|
||||||
gcr.io/makisu-project/makisu:$makisu_version build \
|
gcr.io/makisu-project/makisu:$makisu_version build \
|
||||||
--modifyfs=true --load \
|
--commit=explicit \
|
||||||
${@:1:-1} /makisu-context
|
--modifyfs=true \
|
||||||
# popd
|
--load \
|
||||||
|
${@:1:${#@}-1} /makisu-context
|
||||||
|
cd -
|
||||||
}
|
}
|
||||||
|
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
"https://index.docker.io/v1/": {}
|
"https://index.docker.io/v1/": {},
|
||||||
|
"quay.io": {}
|
||||||
},
|
},
|
||||||
"HttpHeaders": {
|
"HttpHeaders": {
|
||||||
"User-Agent": "Docker-Client/18.09.7 (linux)"
|
"User-Agent": "Docker-Client/18.09.7 (linux)"
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[geometry]
|
||||||
|
posx=0
|
||||||
|
posy=0
|
||||||
|
sizex=1920
|
||||||
|
sizey=1179
|
||||||
|
|
||||||
|
[nitrogen]
|
||||||
|
view=icon
|
||||||
|
recurse=true
|
||||||
|
sort=alpha
|
||||||
|
icon_caps=false
|
||||||
|
dirs=/home/nemo/projects/personal/avatars/wallpaper;/home/nemo/Pictures/Wallpapers;
|
|
@ -82,12 +82,8 @@ bindsym $mod+Shift+q kill
|
||||||
bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
|
bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
|
||||||
bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
|
bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
|
||||||
|
|
||||||
#### Lock screen config #####
|
|
||||||
# Use i3lock as screensaver (works on suspend)
|
|
||||||
exec "xss-lock -- /home/nemo/projects/scripts/i3lock.sh -l dim"
|
|
||||||
|
|
||||||
# Autolock screen after 2 minutes
|
# Autolock screen after 2 minutes
|
||||||
exec xautolock -corners -000 -detectsleep -time 1 -locker "/home/nemo/projects/scripts/i3lock.sh -l dim"
|
exec xautolock -detectsleep -time 1 -locker "/home/nemo/projects/scripts/lock.sh"
|
||||||
|
|
||||||
# dunst for notifications
|
# dunst for notifications
|
||||||
exec "dunst"
|
exec "dunst"
|
||||||
|
@ -106,6 +102,7 @@ set $screenshot_file '/home/nemo/Desktop/Screenshots/%Y-%m-%d_%H-%M-%S-$wx$h.png
|
||||||
bindsym Print exec escrotum --select --selection-delay 100 $screenshot_file && notify-send "done"
|
bindsym Print exec escrotum --select --selection-delay 100 $screenshot_file && notify-send "done"
|
||||||
bindsym Shift+Print exec escrotum --clipboard --select --selection-delay 100 $screenshot_file && notify-send "copied"
|
bindsym Shift+Print exec escrotum --clipboard --select --selection-delay 100 $screenshot_file && notify-send "copied"
|
||||||
bindsym Ctrl+Print exec scrot --focused --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
bindsym Ctrl+Print exec scrot --focused --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||||
|
bindsym Ctrl+$mod+I exec scrot --focused --count --delay 1 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||||
bindsym Ctrl+Shift+Print exec scrot --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
bindsym Ctrl+Shift+Print exec scrot --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||||
|
|
||||||
bindsym $mod+I exec escrotum --select --selection-delay 300 $screenshot_file && notify-send "done"
|
bindsym $mod+I exec escrotum --select --selection-delay 300 $screenshot_file && notify-send "done"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
@dependabot merge
|
Loading…
Reference in New Issue