Source customxinit before running daemonsneedingdbus

This makes sure that environment variables are set for the demons and
for example st started form the app menu (if launched through lisgd).

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Jochen Sprickerhof 3 years ago committed by Maarten van Gompel
parent 99d226929b
commit e639291e49
  1. 2
      scripts/core/sxmo_xinit.sh

@ -99,9 +99,9 @@ customxinit() {
startdwm() { startdwm() {
exec dbus-run-session sh -c " exec dbus-run-session sh -c "
$0 daemonsneedingdbus;
set -- customxinit set -- customxinit
. $0 . $0
$0 daemonsneedingdbus
dwm 2> "$XDG_CACHE_HOME/sxmo/dwm.log" dwm 2> "$XDG_CACHE_HOME/sxmo/dwm.log"
" "
} }

Loading…
Cancel
Save