From b1c404a519975a2f0e98aaa5781a5d1c23436abe Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 6 Apr 2017 11:11:45 +0200 Subject: [PATCH] default XDG_CONFIG_HOME value --- .xsession.d/50-awesomewm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.39.5