diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-02-22 15:26:32 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-02-22 15:26:32 +0100 |
commit | cd7b9648ec361db65a597b99939b2a3659b76a2d (patch) | |
tree | 42e9c9c70a6cda89537b6ad25abc70bd44810f33 | |
parent | f2eebc0cc9a23013dae5e1b820213d11964df451 (diff) | |
download | dotfiles-cd7b9648ec361db65a597b99939b2a3659b76a2d.tar.gz dotfiles-cd7b9648ec361db65a597b99939b2a3659b76a2d.tar.bz2 dotfiles-cd7b9648ec361db65a597b99939b2a3659b76a2d.zip |
xinitrc: Add custom path for a systemd session
-rw-r--r-- | .xinitrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |