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

6 lines
193 B
Text

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