[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.
This commit is contained in:
parent
0d548d3a11
commit
f69b5797fb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue