dotfiles-guix/home-config/sway/config.d/idle

6 lines
219 B
Text
Raw Normal View History

2023-09-05 03:21:01 +00:00
# Turn off display after tiemout
exec swayidle -w \
timeout 300 'swaylock -f -c 14171d' \
2023-09-05 03:21:01 +00:00
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 14171d'