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

5 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'