aboutsummaryrefslogtreecommitdiff
path: root/bar.sh
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 14:19:23 +0000
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 14:19:23 +0000
commit20b9b4855ec88d6d0c6ed4edbd4b9c6525f77d25 (patch)
tree1dcfee98eb3a69fcbf8be9067791b09dde1c7d32 /bar.sh
parent23767a965b9de481342849163fc2cfe5b88562ef (diff)
Added new weather module, fixed archupdates spacing and tweaked bar.sh
Diffstat (limited to 'bar.sh')
-rwxr-xr-xbar.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bar.sh b/bar.sh
index 925615a..534ae87 100755
--- a/bar.sh
+++ b/bar.sh
@@ -45,8 +45,10 @@ run_module()
out="$($MODULES_DIR$1)"
fi
- [[ ! "$out" = "" ]] && out="$out$SEPARATOR."
- echo "$out" > "$OUTPUT_CACHE$module"
+ if [[ ! "$out" = "" ]]; then
+ out="$out$SEPARATOR."
+ echo "$out" > "$OUTPUT_CACHE$module"
+ fi
}
run()