X1 Carbon Gen 7 Sway Desktop

This commit is contained in:
Vladan Popovic 2021-06-17 00:49:38 +02:00 committed by Vladan Popovic
parent 2f37aae96f
commit f8790aa337
22 changed files with 702 additions and 269 deletions

8
config/swaylock/config Normal file
View file

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