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
1 changed files with 2 additions and 2 deletions

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
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' \
timeout 600 'swaylock -f -c 000000' \
timeout 1200 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'