From f69b5797fbf7e6ef8883eb6118ed4f43134d2e75 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 5 Nov 2019 16:01:57 +0100 Subject: [PATCH] [FIX][I3] Don't lock automatically while sleeping My script to go to sleep already locks the screen, there's no use having Xautolock try to do it while the computer is sleeping. --- i3/.config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 46bc901..bfbb70e 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -286,7 +286,7 @@ exec --no-startup-id dunst # Notify when battery is at 15% and 5% percent exec --no-startup-id i3-battery-popup -n -L 15 -l 5 # Autolock after 1 minute without any input, lock on upper-left, don't in lower-right -exec --no-startup-id xautolock -time 3 -cornerdelay 5 -cornerredelay 5 -corners +00- -locker "i3exit lock" -notify 5 -notifier "notify-send -u critical -t 5000 -- 'Locking screen in 5 seconds'" +exec --no-startup-id xautolock -detectsleep -time 3 -cornerdelay 5 -cornerredelay 5 -corners +00- -locker "i3exit lock" -notify 5 -notifier "notify-send -u critical -t 5000 -- 'Locking screen in 5 seconds'" # Set the wallpaper using the last settings exec --no-startup-id ~/.fehbg