From d05bc2b5cd1707d4e10fab15e9a128324c0493ac Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 11 Sep 2016 12:11:01 +0200 Subject: [PATCH] improve awesome spawning --- .xsession.d/50-awesomewm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index 7da1bbb..bbb8f55 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,10 +1,16 @@ 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 -- 2.39.5