]> git.donarmstrong.com Git - x_base.git/commitdiff
use i3wm if it is installed
authorDon Armstrong <don@donarmstrong.com>
Sun, 7 Feb 2016 06:08:11 +0000 (22:08 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 7 Feb 2016 06:08:11 +0000 (22:08 -0800)
.xsession

index f9c4ce81ab835015f3e94e56da0f3857e9cbf75f..195786515b2e86eaea38af0f8159808fc2642447 100755 (executable)
--- 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;