summaryrefslogtreecommitdiffstats
path: root/xorg/50-systemd-user.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/50-systemd-user.sh')
-rwxr-xr-xxorg/50-systemd-user.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg/50-systemd-user.sh b/xorg/50-systemd-user.sh
new file mode 100755
index 0000000..bfee5f6
--- /dev/null
+++ b/xorg/50-systemd-user.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+systemctl --user import-environment DISPLAY XAUTHORITY
+
+if command -v dbus-update-activation-environment >/dev/null 2>&1; then
+ dbus-update-activation-environment DISPLAY XAUTHORITY
+fi