dotfiles-arch/.config/sway/config.d/idle
2023-11-27 13:03:12 -05:00

5 lines
219 B
Text

# Turn off display after tiemout
exec swayidle -w \
timeout 300 'swaylock -f -c 14171d' \
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 14171d'