From: martin f. krafft Date: Fri, 9 Sep 2016 09:40:10 +0000 (+0200) Subject: only execute local awesome if a file X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/c9a736ea91015cbfe76f3266b695b6834e64efa9?ds=sidebyside only execute local awesome if a file --- diff --git a/.xsession.d/50-awesomewm b/.xsession.d/50-awesomewm index 770de83..7da1bbb 100644 --- a/.xsession.d/50-awesomewm +++ b/.xsession.d/50-awesomewm @@ -1,7 +1,7 @@ sleep 10 & sleeppid=$! -if [ -x ~/code/awesome/awesome ]; then +if [ -f ~/code/awesome/awesome ] && [ -x ~/code/awesome/awesome ]; then ~/code/awesome/awesome elif [[ -x =awesome ]]; then awesome