sway: try to fix red screen of death

This commit is contained in:
Henrik Bakken
2026-06-15 13:39:18 +02:00
parent 5c052509c4
commit 900a20a31f
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -286,10 +286,10 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# Idle configuration
exec_always swayidle -w \
timeout 1200 'gtklock -d' \
exec swayidle -w \
timeout 1200 'pgrep -x gtklock || gtklock -d' \
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
before-sleep 'gtklock -d' \
before-sleep 'pgrep -x gtklock || gtklock -d' \
after-resume 'swaymsg reload' \
idlehint 240