X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/405e5868b47bc2b15fede7862f8c57878daa8470..c9a736ea91015cbfe76f3266b695b6834e64efa9:/.xsession.d/50-awesomewm?ds=inline diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index ed50286..7da1bbb 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,7 +1,12 @@ -if [ -x ~/code/awesome/awesome ]; then - ~/code/awesome/awesome & +sleep 10 & +sleeppid=$! + +if [ -f ~/code/awesome/awesome ] && [ -x ~/code/awesome/awesome ]; then + ~/code/awesome/awesome elif [[ -x =awesome ]]; then - awesome & + awesome else - x-window-manager & + x-window-manager fi + +wait $sleeppid