Use xss-lock to trigger lock when suspending/hibernating

this is a little bit redundant with xautolock, but whatever
This commit is contained in:
Adam Goldsmith 2024-04-18 20:30:26 -04:00
parent 748df90274
commit 4838e5aac4
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ exec --no-startup-id touchegg 2>&1 > /dev/null
exec --no-startup-id numlockx on # enable numlock
exec --no-startup-id xset s off dpms 0 0 0 # disable auto screen blanking
exec --no-startup-id xautolock -time 5 -locker "$config_dir/lock.sh lock 5" -detectsleep -corners --00 -notify 15 -notifier 'notify-send "Locking screen in 15 seconds" -i system-lock-screen -t 4500'
exec --no-startup-id xss-lock -- xautolock -locknow
exec --no-startup-id picom
# firefox workspace bindings