# ~/.config/swayidle/config
timeout 300 'swaylock -f'
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
before-sleep 'swaylock -f'
after-resume 'swaymsg "output * dpms on"'
unlock 'swaymsg "output * dpms on"'
lock 'swaylock -f'
