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 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