aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-08-05 01:39:33 +0200
committerGravatar Tom Willemse2016-08-05 01:39:33 +0200
commit84fd3a8bc40a02a8456471e287453d74922deb25 (patch)
tree71b11946b42366e3423348b6aa6532d9914f25a0 /zsh
parenta5642de228351827f2a4834e8254aff8b85996b4 (diff)
downloadnew-dotfiles-84fd3a8bc40a02a8456471e287453d74922deb25.tar.gz
new-dotfiles-84fd3a8bc40a02a8456471e287453d74922deb25.zip
Set the dbus session bus address
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/.profile b/zsh/.profile
index a84a45a..8db89e5 100644
--- a/zsh/.profile
+++ b/zsh/.profile
@@ -11,4 +11,11 @@ export PATH
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
+## Dbus
+
+# Make the session bus address fixed so other processes can know where
+# to find it.
+DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u)/bus"
+export DBUS_SESSION_BUS_ADDRESS
+
systemctl --user import-environment PATH