From f448f3c444b02e13d85208b3757aaf6de38128b5 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 11 Jul 2020 09:52:33 -0500 Subject: [PATCH] Source rather than just run the user's custom xinit file; allows exporting ENV --- scripts/core/sxmo_xinit.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index efd1dd7..6a89b20 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -28,7 +28,9 @@ autocutsel -selection PRIMARY & sxmo_statusbar.sh & # Run user's custom xinit -[ -f "$XDG_CONFIG_HOME/sxmo/xinit" ] && "$XDG_CONFIG_HOME/sxmo/xinit" +set -o allexport +[ -f "$XDG_CONFIG_HOME/sxmo/xinit" ] && . "$XDG_CONFIG_HOME/sxmo/xinit" +set +o allexport # Startup dbus, dunst in dbus path, lisgd in dbus path, and finally dwm exec dbus-run-session sh -c "