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
+1 -1
View File
@@ -2,7 +2,7 @@
gtk-theme=Arc-Dark gtk-theme=Arc-Dark
time-format=%H:%M time-format=%H:%M
start-hidden=1 start-hidden=1
modules=userinfo-module;powerbar-module modules=powerbar-module
[userinfo] [userinfo]
round-image=true round-image=true
+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 dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# Idle configuration # Idle configuration
exec_always swayidle -w \ exec swayidle -w \
timeout 1200 'gtklock -d' \ timeout 1200 'pgrep -x gtklock || gtklock -d' \
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ 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' \ after-resume 'swaymsg reload' \
idlehint 240 idlehint 240