dotfiles/.config/sway/config.d/.idle.example

11 lines
353 B
Text
Raw Normal View History

2021-11-16 21:57:53 -05:00
# Example
# DO NOT EDIT THIS FILE
2021-11-17 14:26:56 -05:00
#exec swayidle -w \
2021-11-17 16:18:36 -05:00
timeout 300 '$lock_command' \
2021-11-17 16:39:53 -05:00
timeout 300 'swaymsg "output * dpms off"' \
timeout 310 'systemctl suspend' \
2021-11-17 14:26:56 -05:00
timeout 10 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \
2021-11-17 16:33:11 -05:00
resume 'swaymsg "output * dpms on"' \
2021-11-16 21:57:53 -05:00
before-sleep 'playerctl -a pause' \
2021-11-17 14:26:56 -05:00
before-sleep '$lock_command'