aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 14:56:04 +0000
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-11-06 14:56:04 +0000
commit80fd41115dcbda570293e0650a2f61a745201505 (patch)
tree7a05b84bd18ff7cd9dae8e6d03f812998bdcf988
parentc271126ec413c0033381b381828f0d8801822dc4 (diff)
I can't write bash
-rwxr-xr-xbar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar.sh b/bar.sh
index 8a2ecef..5848966 100755
--- a/bar.sh
+++ b/bar.sh
@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-if [[ -z $CACHE_DIR ]]; then
+if [[ ! -z $CACHE_DIR ]]; then
OUTPUT_CACHE="$CACHE_DIR"
else
OUTPUT_CACHE="/home/$USER/.config/dwmbar/.cache/"