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

master
Miles Alan 4 years ago
parent 4fe129882d
commit f448f3c444
  1. 4
      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 "

Loading…
Cancel
Save