aboutsummaryrefslogtreecommitdiff
path: root/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autostart.sh')
-rwxr-xr-x[-rw-r--r--]autostart.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/autostart.sh b/autostart.sh
index fdacb86..f15deda 100644..100755
--- a/autostart.sh
+++ b/autostart.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# Set the environment variable
+export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ | tr '\0' '\n' | cut -d= -f2-)
+
# Load custom dconf settings
-dconf load / <~/.config/dconf-custom/settings.dconf
+/usr/bin/dconf load / <$HOME/.config/dconf-custom/settings.dconf