X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/af39d38d11abfaefda1f22480ee8d1d3654620cb..d05bc2b5cd1707d4e10fab15e9a128324c0493ac:/.xsession.d/50-awesomewm?ds=sidebyside diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index a322305..bbb8f55 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,8 +1,18 @@ -export _JAVA_AWT_WM_NONREPARENTING=1 -if [ -x ~/code/awesome/awesome ]; then +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 + +wait $sleeppid