aboutsummaryrefslogtreecommitdiff
path: root/dwmbar
diff options
context:
space:
mode:
authorBaitinq <30861839+Baitinq@users.noreply.github.com>2019-11-06 14:33:21 +0000
committerGitHub <noreply@github.com>2019-11-06 14:33:21 +0000
commitf1478e37ac793c753fc12e855fd6766d0a1097dc (patch)
tree63e395fc374cb74ee34df64efa5df1f242afee6f /dwmbar
parent13168d33d4064f75787b4644de8a727f8b303875 (diff)
parenta996ced4ef101a72a5c3a11cd1ea2b77fc8a05a4 (diff)
Merge pull request #13 from thytom/readme
Readme
Diffstat (limited to 'dwmbar')
-rwxr-xr-xdwmbar5
1 files changed, 5 insertions, 0 deletions
diff --git a/dwmbar b/dwmbar
index 4617cf3..080394b 100755
--- a/dwmbar
+++ b/dwmbar
@@ -53,6 +53,11 @@ check_files(){
exit 1
fi
+ if [[ ! -d $CACHE_DIR ]]; then
+ echo "$CACHE_DIR does not exist." > /dev/stderr
+ exit 1
+ fi
+
if [[ ! -f $DEFAULT_BAR_LOCATION ]]; then
echo "$DEFAULT_BAR_LOCATION does not exist." > /dev/stderr
exit 1