Skip to content
Snippets Groups Projects
Commit a000b28e authored by minute's avatar minute
Browse files

sway: fix gtk apps startup delay (incl waybar)

parent 840f95b4
No related branches found
No related tags found
1 merge request!25MNT Reform System Image v2
......@@ -262,6 +262,11 @@ for_window [app_id="xfce4-appfinder"] floating enable
include @sysconfdir@/sway/config.d/*
# fix up to 20 second startup time of GTK applications
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# waybar
exec /usr/local/bin/waybar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment