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

6 lines
193 B
Text
Raw Normal View History

2023-11-27 18:03:12 +00:00
# Turn off display after tiemout
exec swayidle -w \
2024-04-05 19:11:06 +00:00
timeout 300 'swaylock' \
2023-11-27 18:03:12 +00:00
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
2024-04-05 19:11:06 +00:00
before-sleep 'swaylock'