Increase timeout to turn screen off
This commit is contained in:
parent
2e508999df
commit
b1b03f678d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user