Source rather than just run the user's custom xinit file; allows exporting ENV

This commit is contained in:
Miles Alan 2020-07-11 09:52:33 -05:00
parent 4fe129882d
commit f448f3c444

View file

@ -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 "