feat(swayidle): add initial swayidle config
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -59,3 +59,7 @@ sway/*
|
|||||||
!swaylock
|
!swaylock
|
||||||
swaylock/*
|
swaylock/*
|
||||||
!swaylock/config
|
!swaylock/config
|
||||||
|
|
||||||
|
!swayidle
|
||||||
|
swayidle/*
|
||||||
|
!swayidle/config
|
||||||
|
|||||||
3
swayidle/config
Normal file
3
swayidle/config
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
timeout 60 'swaylock -f'
|
||||||
|
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||||
|
before-sleep 'swaylock -f'
|
||||||
Reference in New Issue
Block a user