From c555192d1dd64af13840a88af30de335f148462b Mon Sep 17 00:00:00 2001 From: Zullu Balti <60227154+ZulluBalti@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:18:54 +0500 Subject: [PATCH] fix multiple dbus instances on arch (systemd) based system --- static/larbs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/larbs.sh b/static/larbs.sh index 4c908e557..49c743f4b 100755 --- a/static/larbs.sh +++ b/static/larbs.sh @@ -351,7 +351,8 @@ ln -sfT /bin/dash /bin/sh >/dev/null 2>&1 dbus-uuidgen >/var/lib/dbus/machine-id # Use system notifications for Brave on Artix -echo "export \$(dbus-launch)" >/etc/profile.d/dbus.sh +# Only do it when systemd is not present +[ "$(readlink -f /sbin/init)" != "/usr/lib/systemd/systemd" ] && echo "export \$(dbus-launch)" >/etc/profile.d/dbus.sh # Enable tap to click [ ! -f /etc/X11/xorg.conf.d/40-libinput.conf ] && printf 'Section "InputClass"