Merge branch 'user/okmans/swayidle/sleep' into 'master'
Add swayidle timeout to suspend See merge request tile-os/tileos-settings-sway!9
This commit is contained in:
commit
afe557042c
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
timeout 240 'light -G > /tmp/brightness && light -S 10' resume 'light -S $([ -f /tmp/brightness ] && cat /tmp/brightness || echo 100%)'
|
||||
timeout 300 ~/.config/swaylock/lock.sh
|
||||
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||
timeout 900 'systemctl suspend'
|
||||
before-sleep 'playerctl pause'
|
||||
before-sleep ~/.config/swaylock/lock.sh
|
||||
lock ~/.config/swaylock/lock.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue