sway: extend timeout for screen locking
This commit is contained in:
parent
83ea715ce7
commit
279a4a9430
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue