# 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'
