summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.xinitrc9
1 files 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