From: Simon Ruderich Date: Sun, 12 Jan 2014 20:12:53 +0000 (+0100) Subject: xinitrc: Use herbstluftwm as window manager. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=02c9aabce7f4c128923de9f09a4190eb30d7a6cd;p=config%2Fdotfiles.git xinitrc: Use herbstluftwm as window manager. Fallback to xmonad and stumpwm, just in case. --- 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.