Compare commits

..

No commits in common. "d9dc7d51714661606e49c8e7a3245956ebfc25d2" and "52f6def4beafce77c2af89a3a1b81c5349864089" have entirely different histories.

2 changed files with 3 additions and 2 deletions

View file

@ -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'

View file

@ -1,3 +1,3 @@
# Example # Example
# DO NOT EDIT THIS FILE # DO NOT EDIT THIS FILE
# set $lock_command swaylock -e -F -i ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-1933.jpg & # set $lock_command swaylock -e -F -i ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-1933.jpg