From: Maximilian Friedersdorff Date: Fri, 27 Apr 2018 09:52:06 +0000 (+0100) Subject: Launch window manager conditionally on hostname X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=b6954184eabf300fe0a8538353d43ac475dfaab7;hp=-c;p=max%2Fdotfiles.git Launch window manager conditionally on hostname --- b6954184eabf300fe0a8538353d43ac475dfaab7 diff --git a/X/.xinitrc b/X/.xinitrc index 86cfd39..d02fb1c 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -77,4 +77,11 @@ esac cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc -exec /usr/bin/ratpoison +case $HOSTNAME in + platinum) + exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde + ;; + *) + exec /usr/bin/ratpoison +esac +