]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Launch window manager conditionally on hostname
authorMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 27 Apr 2018 09:52:06 +0000 (10:52 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Fri, 27 Apr 2018 09:52:06 +0000 (10:52 +0100)
X/.xinitrc

index 86cfd39a5d3f3711885d7071fd5ad16fd6e06f23..d02fb1cbed639af1fa3dc80b60806988b2fb82eb 100644 (file)
@@ -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
+