summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-07-31 18:01:08 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-07-31 18:01:08 -0400
commitd29d9d719c329fa5a868dcce812875fca4f195cd (patch)
treecf2e24c450c1f7b586fe641ac1d6aae7173bf7f8 /etc
parent9a82d47a62b0a10e8b415ca54c29ae427900059c (diff)
downloadxebian-default-settings-d29d9d719c329fa5a868dcce812875fca4f195cd.tar.bz2
xebian-default-settings-d29d9d719c329fa5a868dcce812875fca4f195cd.tar.xz
xebian-default-settings-d29d9d719c329fa5a868dcce812875fca4f195cd.tar.zst
e/X11/Xsession.d/(56xebian-session,60x11-common_xdg_path): Inject the variables set into the session via dbus-update-activation-environment.
Diffstat (limited to 'etc')
-rw-r--r--etc/X11/Xsession.d/56xebian-session4
-rw-r--r--etc/X11/Xsession.d/60x11-common_xdg_path4
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/X11/Xsession.d/56xebian-session b/etc/X11/Xsession.d/56xebian-session
index 893deef..91a59ae 100644
--- a/etc/X11/Xsession.d/56xebian-session
+++ b/etc/X11/Xsession.d/56xebian-session
@@ -4,4 +4,8 @@ if [ "$DESKTOP_SESSION" = xebian ]; then
export GTK_OVERLAY_SCROLLING=0
# Qt5 apps to use GTK style
export QT_QPA_PLATFORMTHEME=gtk2
+ if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \
+ command -v dbus-update-activation-environment >/dev/null; then
+ dbus-update-activation-environment --verbose --systemd GTK_OVERLAY_SCROLLING QT_QPA_PLATFORMTHEME
+ fi
fi
diff --git a/etc/X11/Xsession.d/60x11-common_xdg_path b/etc/X11/Xsession.d/60x11-common_xdg_path
index a3083ad..73f3df1 100644
--- a/etc/X11/Xsession.d/60x11-common_xdg_path
+++ b/etc/X11/Xsession.d/60x11-common_xdg_path
@@ -21,4 +21,8 @@ if [ -n "$DESKTOP_SESSION" ]; then
fi
export XDG_DATA_DIRS
fi
+ if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \
+ command -v dbus-update-activation-environment >/dev/null; then
+ dbus-update-activation-environment --verbose --systemd XDG_CONFIG_DIRS XDG_DATA_DIRS
+ fi
fi