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

9 lines
276 B
Text

# Example
# DO NOT EDIT THIS FILE
# exec swayidle -w \
timeout 300 '$lock_command' \
timeout 301 'swaymsg "output * dpms off"' \
timeout 360 'systemctl suspend' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'playerctl -a pause' \
before-sleep '$lock_command' &