diff options
-rw-r--r-- | .bash_profile | 4 | ||||
-rwxr-xr-x | .xinitrc | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 4b87c78..e8b688e 100644 --- a/.bash_profile +++ b/.bash_profile @@ -56,3 +56,7 @@ if [[ -z "$DISPLAY" ]]; then exec startx >~/xsession-errors 2>&1 fi +if [[ -z "$DBUS_SESSION_BUS_ADDRESS" && -e .dbus.env ]]; then + source .dbus.env +fi + @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]]; then eval $(dbus-launch --exit-with-x11 --sh-syntax) + declare -p DBUS_SESSION_BUS_ADDRESS > .dbus.env fi cd |