Fixed system notifications

This commit is contained in:
Tibo De Peuter 2022-06-03 11:20:17 +02:00
parent 312d3521d6
commit 85cc441958
2 changed files with 5 additions and 5 deletions

View file

@ -8,12 +8,12 @@ pkill swayidle
swayidle -w \
timeout 300 \
"~/.scripts/wander.sh" \
resume "~/.scripts/wander.sh" \
resume 'brightnessctl -r' \
timeout 600 \
'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
timeout 1200 \
'systemctl suspend' \
before-sleep 'swaymsg "output * dpms on"; swaylock -f --screenshots --clock --indicator --effect-blur 5x5'
before-sleep 'swaymsg "output * dpms on"; swaylock'
# Screen needs to be turned back on or you will get a black screen after waking up again.