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

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'