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>
This commit is contained in:
Jochen Sprickerhof 2021-07-11 12:44:13 +02:00 committed by Maarten van Gompel
parent 99d226929b
commit e639291e49

View file

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