From b6954184eabf300fe0a8538353d43ac475dfaab7 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Fri, 27 Apr 2018 10:52:06 +0100 Subject: [PATCH] Launch window manager conditionally on hostname --- X/.xinitrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 + -- 2.46.2