dotfiles/templates/.config/swayidle/config

2 lines
149 B
Text

timeout 900 'swaylock -f -c 000000'
timeout 10 'pgrep swaylock && swaymsg "output * dpms off"' resume 'pgrep swaylock && swaymsg "output * dpms on"'