New backup 2024-08-13 09:45:08

This commit is contained in:
Penelope Gwen 2024-08-13 09:45:08 -07:00
parent 2956e0156c
commit 46e415294b
2 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,5 @@
timeout 150 'brightnessctl g | tee $HOME/.config/swayidle/brightness; brightnessctl s 0' resume 'brightnessctl s $(cat $HOME/.config/swayidle/brightness); rm $HOME/.config/swayidle/brightness'
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
timeout 600 '/usr/bin/sp-lock'
timeout 1800 'systemctl suspend'
timeout 3 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
timeout 6 '/usr/bin/sp-lock'
timeout 18 'systemctl suspend'
before-sleep '/usr/bin/sp-lock'

View file

@ -0,0 +1,5 @@
timeout 150 'brightnessctl g | tee $HOME/.config/swayidle/brightness; brightnessctl s 0' resume 'brightnessctl s $(cat $HOME/.config/swayidle/brightness); rm $HOME/.config/swayidle/brightness'
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
timeout 600 '/usr/bin/sp-lock'
timeout 1800 'systemctl suspend'
before-sleep '/usr/bin/sp-lock'