X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.xsession;h=b402817caebf2ff4dec895fd30c4a219d5843894;hb=def1e8945af8469020cf61548a83c5b599716a98;hp=6e39043557a9d914fd81fdb62424cb69ce80068e;hpb=2c774a962a9d89c09ecc517f0e6d32f4a9f51eb8;p=x_base.git diff --git a/.xsession b/.xsession index 6e39043..b402817 100755 --- a/.xsession +++ b/.xsession @@ -51,7 +51,7 @@ elif [ -x /usr/bin/xautolock ]; then fi; if which redshift >/dev/null 2>&1; then - (redshift -l 40.11059:-88.20727 >/dev/null 2>&1 &) + (redshift >/dev/null 2>&1 &) fi; if which mopidy >/dev/null 2>&1 && [ -e ~/.config/mopidy/mopidy.conf ]; then @@ -71,19 +71,10 @@ if [ -x /usr/bin/i3 ]; then ~/.config/i3/build_config.sh; fi; exec /usr/bin/i3; -elif [ -x /usr/bin/awesome ]; then - exec /usr/bin/awesome; -elif [ -x /usr/bin/ion3 ]; then - exec /usr/bin/ion3; -elif [ -x /usr/bin/openbox ]; then - exec /usr/bin/openbox; -elif [ -x /usr/bin/rxvt ]; then - exec /usr/bin/rxvt; -elif [ -x /usr/bin/rxvt-unicode ]; then - exec /usr/bin/rxvt-unicode; -elif [ -x /usr/bin/xterm ]; then - exec /usr/bin/xterm; else - # we're screwed. - sleep 2s; + for prog in awesome ion3 openbox stterm st rxvt rxvt-unicode xterm; do + if which $prog >/dev/null 2>&1; then + exec $(which $prog) + fi + done; fi;