sway: extend timeout for screen locking

This commit is contained in:
Cedric Girard 2019-05-09 16:16:55 +02:00
parent 83ea715ce7
commit 279a4a9430

View file

@ -47,8 +47,8 @@ output * bg /home/cgirard/Images/wallpaper.jpg fit
# your displays after another 300 seconds, and turn your screens back on when # your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep. # resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \ exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \ timeout 600 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' \ timeout 1200 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \ resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000'