dotfiles-arch/.config/sway/config.d/idle

6 lines
219 B
Text
Raw Normal View History

2023-11-27 18:03:12 +00:00
# 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'