X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xinitrc;h=a36ab94378cb4bfd559ae4b950d993d1cbf56bb8;hb=02c9aabce7f4c128923de9f09a4190eb30d7a6cd;hp=b286dbc9615534d7489f780d006ceac1fd53807f;hpb=836d90a706afe7f3f86331375b28390f2a43e372;p=config%2Fdotfiles.git 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.