From b4f022eb9b7411ba3219551de02d581be57027d5 Mon Sep 17 00:00:00 2001 From: vib Date: Mon, 10 Jan 2022 19:11:31 +0200 Subject: [PATCH] Actually make dbus work without systemd --- .xprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.xprofile b/.xprofile index 7daa305..7f4b0b9 100644 --- a/.xprofile +++ b/.xprofile @@ -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