From e36ed3bd0b8b549a859450222242d89a9b2abd52 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 28 Jan 2022 13:37:47 +0000 Subject: maybe better dbus --- .xinitrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.xinitrc b/.xinitrc index 41a8135..79a53d5 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,4 +1,9 @@ -#!/bin/sh +#!/bin/bash + +if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]]; then + eval $(dbus-launch --exit-with-x11 --sh-syntax) +fi + cd export LC_ALL=en_US.UTF-8 #sudo ./src/hal-automounter/hal-automounter.pl > automount.log 2>&1 & @@ -21,5 +26,5 @@ start-pulseaudio-x11 gtk-redshift & picom & -exec dbus-launch --exit-with-session fvwm-crystal +exec fvwm-crystal -- cgit v1.2.3