forked from logan/dotfiles
Added quicker screen timeout when locked to example
This commit is contained in:
parent
20e8d74666
commit
a8f4e621d9
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
timeout 300 '$lock_command' \
|
||||
timeout 301 'swaymsg "output * dpms off"' \
|
||||
timeout 360 'systemctl suspend' \
|
||||
timeout 10 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'playerctl -a pause' \
|
||||
before-sleep '$lock_command' &
|
||||
|
|
Loading…
Reference in a new issue