[swayidle] Add config
This commit is contained in:
parent
4e0b6e9869
commit
553b973bb4
3 changed files with 5 additions and 28 deletions
5
stow/swayidle/.config/swayidle/config
Normal file
5
stow/swayidle/.config/swayidle/config
Normal file
|
@ -0,0 +1,5 @@
|
|||
timeout 60 'brightnessctl -sq set $(( $(brightnessctl get) / 10 * 3 ))' resume 'brightnessctl -qr'
|
||||
timeout 120 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
|
||||
timeout 240 'systemctl suspend'
|
||||
|
||||
before-sleep 'swaymsg "output * dpms on"; swaylock'
|
Loading…
Add table
Add a link
Reference in a new issue