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

16 lines
246 B
Plaintext
Raw Normal View History

2024-04-17 01:27:21 -05:00
# vim: set ft=swayconfig:
#
2024-02-14 23:17:22 -06:00
# Idle and lock configuration
#
2024-04-18 15:04:55 -05:00
exec LT="900" && \
swayidle -w \
timeout $LT \
'swaylock -f' \
before-sleep \
'swaylock -f' \
lock \
'swaylock -f' \
unlock \
'pkill -xu "$USER" -SIGUSR1 swaylock'