From ee2f8e93021dc70642eb258f7d28744526141f54 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 25 Mar 2020 17:35:30 -0400 Subject: [PATCH] weather every run error fix --- .local/bin/statusbar/weather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/weather b/.local/bin/statusbar/weather index 8e2a457..285ac91 100755 --- a/.local/bin/statusbar/weather +++ b/.local/bin/statusbar/weather @@ -16,7 +16,7 @@ case $BLOCK_BUTTON in 🌞: Daily high" ;; esac -if [ "$(stat -c %y "$HOME/.local/share/weatherreport" >/dev/null 2>&1 | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] +if [ "$(stat -c %y "$HOME/.local/share/weatherreport" 2>/dev/null | awk '{print $1}')" != "$(date '+%Y-%m-%d')" ] then getforecast && showweather else showweather fi