feat(swayidle): add initial swayidle config

This commit is contained in:
2026-01-22 00:06:40 +01:00
parent bd1c560b03
commit 654916042a
2 changed files with 7 additions and 0 deletions

4
.gitignore vendored
View File

@@ -59,3 +59,7 @@ sway/*
!swaylock !swaylock
swaylock/* swaylock/*
!swaylock/config !swaylock/config
!swayidle
swayidle/*
!swayidle/config

3
swayidle/config Normal file
View File

@@ -0,0 +1,3 @@
timeout 60 'swaylock -f'
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
before-sleep 'swaylock -f'