diff options
Diffstat (limited to 'autostart.sh')
| -rwxr-xr-x | autostart.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/autostart.sh b/autostart.sh index f15deda..dee4dc8 100755 --- a/autostart.sh +++ b/autostart.sh @@ -1,7 +1,4 @@ #!/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 -/usr/bin/dconf load / <$HOME/.config/dconf-custom/settings.dconf +# Launch the dconf command with dbus-launch and load custom dconf settings +dbus-launch /usr/bin/dconf load / <"$HOME"/.config/dconf-custom/settings.dconf |
