X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e9049909bc090ebabdd1450dd72937f774b970b3..e765b4a1619d3c6fa79c25cd85e6f1989cfa5b0e:/.xsession.d/50-awesomewm diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index 9c48f8b..4e2d3ab 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,7 +1,16 @@ -if [ -x ~/code/awesome/awesome ]; then +sleep 10 & +sleeppid=$! + +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 + +wait $sleeppid