dotfiles/private_dot_config/swayidle/config
linarphy 05d466adf8
Fix, Delete and Add
- Fix nvim config
- Add scripts
- Add power setting
- Add swayidle config
- Add template system
- Clean sway config
2023-08-18 03:43:52 +02:00

13 lines
327 B
Text

# Swayidle configuration
timeout 300 'light -O && light -S $(light -P)' resume 'light -I'
timeout 400 'exec swaylock'
timeout 500 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
timeout 900 'swaymsg "output * dpms on"; systemctl suspend'
before-sleep 'playerctl pause'
before-sleep 'exec swaylock'