Finally made swayidle and swaylock work lol

This commit is contained in:
Cheri 2023-02-27 12:17:02 +02:00 committed by vib
parent d0f8e2fabc
commit e51120125b
4 changed files with 35 additions and 5 deletions

View file

@ -28,9 +28,8 @@ output DP-1 bg ~/.local/share/wallpapers/bg2 fill
### Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
timeout 600 'swaylock & swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock'
font terminus 8
smart_borders no_gaps