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

6 lines
221 B
Text
Raw Normal View History

2023-09-05 03:21:01 +00:00
# Turn off display after tiemout
exec swayidle -w \
2023-09-14 12:59:36 +00:00
timeout 300 '~/.config/sway/lock.sh' \
2023-09-05 03:21:01 +00:00
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
2023-09-14 12:59:36 +00:00
before-sleep '~/.config/sway/lock.sh'