From 4838e5aac47ba9a7564003fcd2203f50cb5151ab Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 18 Apr 2024 20:30:26 -0400 Subject: [PATCH] Use xss-lock to trigger lock when suspending/hibernating this is a little bit redundant with xautolock, but whatever --- .config/i3/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/i3/config b/.config/i3/config index 1c2a9f9..ef1dac5 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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