From c9a736ea91015cbfe76f3266b695b6834e64efa9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 9 Sep 2016 11:40:10 +0200 Subject: [PATCH] only execute local awesome if a file --- .xsession.d/50-awesomewm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5