This works better supposedly
This commit is contained in:
parent
c1de3285e2
commit
55558a31d6
1 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,8 @@
|
||||||
timeout 300 '$lock_command' \
|
timeout 300 '$lock_command' \
|
||||||
timeout 301 'swaymsg "output * dpms off"' \
|
timeout 301 'swaymsg "output * dpms off"' \
|
||||||
timeout 360 'systemctl suspend' \
|
timeout 360 'systemctl suspend' \
|
||||||
timeout 10 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
timeout 10 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
|
||||||
|
resume 'if pgrep -x swaylock; then swaymsg "output * dpms on"; fi' \
|
||||||
before-sleep 'playerctl -a pause' \
|
before-sleep 'playerctl -a pause' \
|
||||||
before-sleep '$lock_command' &
|
before-sleep '$lock_command'
|
||||||
|
|
Loading…
Reference in a new issue