sway: try to fix red screen of death
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user