summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2022-01-28 13:37:47 +0000
committerdakkar <dakkar@thenautilus.net>2022-01-28 13:37:47 +0000
commite36ed3bd0b8b549a859450222242d89a9b2abd52 (patch)
treec8f462bc5c4bc839af060b82e3e4a081d17b24eb
parentibus! (diff)
downloaddotfiles-nautilus.tar.gz
dotfiles-nautilus.tar.bz2
dotfiles-nautilus.zip
maybe better dbusnautilus
-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