- Fix nvim config - Add scripts - Add power setting - Add swayidle config - Add template system - Clean sway config
13 lines
327 B
Text
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'
|