X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/07623822e064dad3aba4eac4a6feafc260913a6e..6204c603d4bbb23c102819be311e76849735702e:/.xsession.d/50-awesomewm?ds=sidebyside diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index 770de83..4e2d3ab 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,10 +1,14 @@ sleep 10 & sleeppid=$! -if [ -x ~/code/awesome/awesome ]; then +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:-~/.config}/awesome/stock-rc.lua. + fi else x-window-manager fi