summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
index 8333572..057e3ef 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,3 +1,9 @@
+#!/bin/sh
+
+if [ "x$1" = "xsystemd" ]; then
+ export DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/dbus/user_bus_socket
+ exec /usr/lib/systemd/systemd --user
+fi
# Pass -ardelay 250 -arinterval 20 to X server instead.
#xset r on