- Fix nvim config - Add scripts - Add power setting - Add swayidle config - Add template system - Clean sway config
13 lines
346 B
Text
13 lines
346 B
Text
# Swayidle configuration
|
|
|
|
timeout ${idle} 'light -O && light -S $(light -P)' resume 'light -I'
|
|
|
|
timeout ${lock} 'exec swaylock'
|
|
|
|
timeout ${screen} 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
|
|
|
|
timeout ${sleep} 'swaymsg "output * dpms on"; systemctl suspend'
|
|
|
|
|
|
before-sleep 'playerctl pause'
|
|
before-sleep 'exec swaylock'
|