dotfiles/wayland/.local/share/wayland-services/swayidle/run

8 lines
180 B
Plaintext
Raw Normal View History

#!/bin/sh
exec swayidle -w \
timeout 300 'swaylock' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock'