diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 20:12:36 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 20:12:36 +0900 |
| commit | 6d28f339a2c543e678097429212522fa14c5fd30 (patch) | |
| tree | 88a40e1dc32f3a2d43988ff79b2330c114bc1b37 | |
| parent | f4e3cc89c114b3d3a5871de07ab21ce6ba2335f9 (diff) | |
modified statusbar/sb-forecast
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-forecast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/statusbar/sb-forecast b/ar/.local/bin/statusbar/sb-forecast index ca08af6..c02e117 100755 --- a/ar/.local/bin/statusbar/sb-forecast +++ b/ar/.local/bin/statusbar/sb-forecast @@ -27,7 +27,7 @@ getweatherreportjson() { grep -q 'Unknown' "$weatherreportjson" && error "reportjson" } -# Forecast should be updated every 3 hours, but set 3600 to check for reliability. +# Forecast should be updated every 3 hours, but set 86400 to check once a day for reliability. checkforecast() { [ -s "$1" ] && [ "$(($(date +%s) - $(stat -c %Y "$1")))" -le 86400 ] } |
