diff --git a/xinitrc b/xinitrc index 04ad29f..e3bfadc 100644 --- a/xinitrc +++ b/xinitrc @@ -1 +1,10 @@ -i3 +#!/bin/sh + +# test for an existing bus daemon, just to be safe +if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then + # if not found, launch a new one + eval `dbus-launch --sh-syntax --exit-with-session` +fi + +setxkbmap ch & +exec dbus-launch --exit-with-session i3