X1 Carbon Gen 7 Sway Desktop

This commit is contained in:
Vladan Popovic 2021-06-17 00:49:38 +02:00
parent 588cc3455d
commit 74d1b0827e
22 changed files with 677 additions and 272 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"'