The internet lied to me

This commit is contained in:
Logan G 2021-11-17 14:33:11 -07:00
parent 52f6def4be
commit 9b269a8727
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -4,8 +4,7 @@
timeout 300 '$lock_command' \
timeout 301 'swaymsg "output * dpms off"' \
timeout 360 'systemctl suspend' \
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' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'playerctl -a pause' \
before-sleep '$lock_command'