dotfiles/hyprland/.config/sway/config.d/90-swayidle.conf

16 lines
246 B
Plaintext

# vim: set ft=swayconfig:
#
# Idle and lock configuration
#
exec LT="900" && \
swayidle -w \
timeout $LT \
'swaylock -f' \
before-sleep \
'swaylock -f' \
lock \
'swaylock -f' \
unlock \
'pkill -xu "$USER" -SIGUSR1 swaylock'