From: martin f. krafft Date: Thu, 6 Apr 2017 09:11:45 +0000 (+0200) Subject: default XDG_CONFIG_HOME value X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/b1c404a519975a2f0e98aaa5781a5d1c23436abe?ds=inline;hp=--cc;pf=etc default XDG_CONFIG_HOME value --- b1c404a519975a2f0e98aaa5781a5d1c23436abe 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