Actually make dbus work without systemd

This commit is contained in:
Cheri 2022-01-10 19:11:31 +02:00 committed by vib
parent 2688f63b0f
commit 07f7ad026e

View file

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