Actually make dbus work without systemd

This commit is contained in:
vib 2022-01-10 19:11:31 +02:00
parent a343bde5f5
commit b4f022eb9b

View file

@ -17,6 +17,9 @@ export PATH=$PATH:$ANDROID_SDK_ROOT/tools/
export LUTRIS_ENABLE_PROTON=1
eval $(dbus-launch --sh-syntax --exit-with-x11)
export DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
if [ "$GDMSESSION" = "dwm" ]; then
sxhkd &
if [ -z "$(xdpyinfo | grep VNC)" ]; then
@ -29,5 +32,4 @@ if [ "$GDMSESSION" = "dwm" ]; then
slstatus &
/usr/bin/lxqt-policykit-agent &
pipewire &
dbus-launch --sh-syntax --exit-with-session; pipewire &
fi