diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-03-25 17:35:30 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-03-25 17:35:30 -0400 |
| commit | ee2f8e93021dc70642eb258f7d28744526141f54 (patch) | |
| tree | 1bb85c40a497c34e63f8bfc64b4e4874eb927899 | |
| parent | 77cd1bcd441731deb8b31925b30cb0faf56926f5 (diff) | |
| download | eibhear-ee2f8e93021dc70642eb258f7d28744526141f54.tar.gz eibhear-ee2f8e93021dc70642eb258f7d28744526141f54.tar.zst eibhear-ee2f8e93021dc70642eb258f7d28744526141f54.zip | |
weather every run error fix
| -rwxr-xr-x | .local/bin/statusbar/weather | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
