Increase timeout to turn screen off

This commit is contained in:
Sheldon Lee 2023-11-21 17:29:47 +08:00
parent 2e508999df
commit b1b03f678d

View File

@ -1,7 +1,7 @@
#!/bin/sh
# Times the screen off and puts it to background
swayidle \
timeout 1 'swaymsg "output * dpms off"' \
timeout 10 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"; set-primary-monitor' &
# Locks the screen immediately
swaylock -c 000000