Add swayidle

This commit is contained in:
Salt 2024-08-28 23:42:16 -05:00
parent 0e9e4e98a6
commit 24759eceee
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# vim: set ft=config:
# Configuration for swayidle is in ~/.config/swayidle/config
exec-once = swayidle -w

View File

@ -0,0 +1,4 @@
timeout 900 'swaylock -f'
before-sleep 'swaylock -f'
lock 'swaylock -f'
unlock 'pkill -xu "$USER" -SIGUSR1 swaylock'