Compare commits
2 commits
52f6def4be
...
d9dc7d5171
Author | SHA1 | Date | |
---|---|---|---|
d9dc7d5171 | |||
9b269a8727 |
2 changed files with 2 additions and 3 deletions
|
@ -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'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# Example
|
||||
# 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 &
|
||||
|
|
Loading…
Reference in a new issue