aboutsummaryrefslogtreecommitdiff
path: root/dwmbar
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-11-06 14:08:45 +0000
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-11-06 14:08:45 +0000
commit959305da2d6a8b32acfd8a73c84e63f820d46602 (patch)
tree220adca7326c02d64273fba68a19325de5537784 /dwmbar
parent23767a965b9de481342849163fc2cfe5b88562ef (diff)
Needs work
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