From 88cc39a51731276d45d7a2fb79ec7956d753da35 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 12 Aug 2023 23:32:22 +0200 Subject: Made executable and get full path --- autostart.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 autostart.sh (limited to 'autostart.sh') diff --git a/autostart.sh b/autostart.sh old mode 100644 new mode 100755 index fdacb86..f15deda --- 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 -- cgit v1.2.3