X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/c9a736ea91015cbfe76f3266b695b6834e64efa9..4c392a6d980af9c72052145c6a7a812c51e6ecee:/.xsession.d/50-awesomewm?ds=sidebyside diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index 7da1bbb..bbb8f55 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,10 +1,16 @@ sleep 10 & sleeppid=$! +set -x + if [ -f ~/code/awesome/awesome ] && [ -x ~/code/awesome/awesome ]; then ~/code/awesome/awesome elif [[ -x =awesome ]]; then - awesome + if awesome --check; then + awesome --no-argb + else + awesome --config $XDG_CONFIG_HOME/awesome/stock-rc.lua. + fi else x-window-manager fi