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