Add all sway relevant config

This commit is contained in:
Vladan Popovic 2021-06-17 09:39:49 +02:00
parent 483f435ef8
commit 284dd752dc
12 changed files with 399 additions and 2 deletions

7
.config/swayidle/config Normal file
View file

@ -0,0 +1,7 @@
# ~/.config/swayidle/config
timeout 300 'swaylock -f'
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
before-sleep 'swaylock -f'
after-resume 'swaymsg "output * dpms on"'
unlock 'swaymsg "output * dpms on"'
lock 'swaylock -f'