dotfiles/symlinks/config/sway/conf.d/20_lockconfig

11 lines
313 B
Plaintext
Raw Permalink Normal View History

# Define locker script
2024-08-29 08:16:09 +00:00
bindsym $alt+L exec 'swaylock'
# IDLE CONFIG
exec swayidle -w \
2024-08-29 08:16:09 +00:00
timeout 300 'swaylock' \
timeout 330 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
2022-07-20 19:43:22 +00:00
timeout 600 'systemctl suspend' \
2024-08-29 08:16:09 +00:00
before-sleep 'swaylock; playerctl pause'