summaryrefslogtreecommitdiff
path: root/src/grp-system/systemd/50-systemd-user.xorg
diff options
context:
space:
mode:
Diffstat (limited to 'src/grp-system/systemd/50-systemd-user.xorg')
-rwxr-xr-xsrc/grp-system/systemd/50-systemd-user.xorg7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/grp-system/systemd/50-systemd-user.xorg b/src/grp-system/systemd/50-systemd-user.xorg
new file mode 100755
index 0000000000..4d49767228
--- /dev/null
+++ b/src/grp-system/systemd/50-systemd-user.xorg
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+systemctl --user import-environment DISPLAY XAUTHORITY
+
+if which dbus-update-activation-environment >/dev/null 2>&1; then
+ dbus-update-activation-environment DISPLAY XAUTHORITY
+fi