sway-dotfiles/idle.sh

8 lines
206 B
Bash
Raw Permalink Normal View History

2023-01-30 08:19:14 +01:00
swayidle \
2023-05-19 16:00:17 +02:00
timeout 120 '/home/gunalx/.config/sway/idlelock.sh' \
timeout 180 'swaymsg "output * dpms off"' \
2023-01-30 08:19:14 +01:00
resume 'swaymsg "output * dpms on"' \
2023-05-19 16:00:17 +02:00
before-sleep '/home/gunalx/.config/sway/idlelock.sh'
2023-01-30 08:19:14 +01:00