From 02c9aabce7f4c128923de9f09a4190eb30d7a6cd Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 12 Jan 2014 21:12:53 +0100 Subject: [PATCH] xinitrc: Use herbstluftwm as window manager. Fallback to xmonad and stumpwm, just in case. --- xinitrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/xinitrc b/xinitrc index b286dbc..a36ab94 100755 --- a/xinitrc +++ b/xinitrc @@ -149,7 +149,16 @@ fi (urxvt || rxvt || xterm) & # Start window manager. -xmonad +if installed herbstluftwm; then + herbstluftwm --locked +elif installed xmonad; then + xmonad +elif installed stumpwm; then + stumpwm +else + error 'no window manager found (sleeping for 3600 seconds)' + sleep 3600 +fi # Cleanup. -- 2.45.2