Actually make dbus work without systemd
This commit is contained in:
parent
a343bde5f5
commit
b4f022eb9b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue