Add swayidle role

This commit is contained in:
Yorick Barbanneau 2022-12-04 23:10:36 +01:00
parent 372b26c105
commit 79ebe2f813
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
swayidle_config:
timeouts:
- seconds: 300
command: swaylock -f
- seconds: 600
command: swaymsg "output * dpms off"
resume: 'swaymsg "output * dpms on"'
events:
before-sleep: swaylock -f
lock: swaylock -f

View file

@ -6,3 +6,4 @@
- ansible-kanshi
- ansible-mako
- ansible-swaylock
- ansible-swayidle