From: Don Armstrong Date: Sun, 7 Feb 2016 06:08:11 +0000 (-0800) Subject: use i3wm if it is installed X-Git-Url: https://git.donarmstrong.com/?p=x_base.git;a=commitdiff_plain;h=5a4d9d2556ac5a5594723684ffc81015d0c6b1ee use i3wm if it is installed --- diff --git a/.xsession b/.xsession index f9c4ce8..1957865 100755 --- a/.xsession +++ b/.xsession @@ -60,7 +60,9 @@ if which mpd >/dev/null 2>&1 && [ -e ~/.mpdconf ]; then export MPD_HOST; fi; -if [ -x /usr/bin/awesome ]; then +if [ -x /usr/bin/i3 ]; then + exec /usr/bin/i3; +elif [ -x /usr/bin/awesome ]; then exec /usr/bin/awesome; elif [ -x /usr/bin/ion3 ]; then exec /usr/bin/ion3;