better lock screen

This commit is contained in:
Nemo 2019-06-13 15:01:13 +05:30
parent ffef8c0595
commit 7ff6f8374e
5 changed files with 26 additions and 13 deletions

View File

@ -621,19 +621,21 @@ function sprint() {
}
# https://github.com/uber/makisu
#
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 \
-v /var/run/docker.sock:/docker.sock \
-e DOCKER_HOST=unix:///docker.sock \
-v $(pwd):/makisu-context \
-v /tmp/makisu-storage:/makisu-storage \
gcr.io/makisu-project/makisu:$makisu_version build \
--modifyfs=true --load \
${@:1:-1} /makisu-context
# popd
--commit=explicit \
--modifyfs=true \
--load \
${@:1:${#@}-1} /makisu-context
cd -
}
eval "$(starship init bash)"

View File

@ -1,9 +1,10 @@
{
"auths": {
"https://index.docker.io/v1/": {}
"https://index.docker.io/v1/": {},
"quay.io": {}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.09.7 (linux)"
},
"credsStore": "pass"
}
}

View File

@ -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;

View File

@ -82,12 +82,8 @@ bindsym $mod+Shift+q kill
bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
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
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
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 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+$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 $mod+I exec escrotum --select --selection-delay 300 $screenshot_file && notify-send "done"

View File

@ -0,0 +1 @@
@dependabot merge