sway: try to fix red screen of death
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
gtk-theme=Arc-Dark
|
||||
time-format=%H:%M
|
||||
start-hidden=1
|
||||
modules=userinfo-module;powerbar-module
|
||||
modules=powerbar-module
|
||||
|
||||
[userinfo]
|
||||
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
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user