commit ee2f8e93021dc70642eb258f7d28744526141f54 parent 77cd1bcd441731deb8b31925b30cb0faf56926f5 Author: Luke Smith <luke@lukesmith.xyz> Date: Wed, 25 Mar 2020 17:35:30 -0400 weather every run error fix Diffstat:
M | .local/bin/statusbar/weather | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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