From abdbd80ac4dcc42619ee4ed12c19fb5d71fa2d83 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 6 Sep 2022 10:53:34 +0300 Subject: Added many configs to .b --- .b/etc/X11/xinit/xinitrc.d/80-dbus | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .b/etc/X11/xinit/xinitrc.d/80-dbus (limited to '.b/etc/X11/xinit/xinitrc.d/80-dbus') diff --git a/.b/etc/X11/xinit/xinitrc.d/80-dbus b/.b/etc/X11/xinit/xinitrc.d/80-dbus new file mode 100755 index 0000000..5593e2c --- /dev/null +++ b/.b/etc/X11/xinit/xinitrc.d/80-dbus @@ -0,0 +1,13 @@ +#!/bin/bash + +# launches a session dbus instance + +dbuslaunch="`which dbus-launch 2>/dev/null`" +if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then + if [ -n "$command" ]; then + command="$dbuslaunch --exit-with-session $command" + else + eval `$dbuslaunch --sh-syntax --exit-with-session` + fi +fi + -- cgit v1.2.3