diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 20:11:29 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-06 20:11:29 +0900 |
| commit | f4e3cc89c114b3d3a5871de07ab21ce6ba2335f9 (patch) | |
| tree | b5f4b3b172d2995c5bd1c9544befbca346e044cb | |
| parent | 58b470132119f01883ef68411adf62f65d91a0e9 (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 bed3a9d..ca08af6 100755 --- a/ar/.local/bin/statusbar/sb-forecast +++ b/ar/.local/bin/statusbar/sb-forecast @@ -29,7 +29,7 @@ getweatherreportjson() { # Forecast should be updated every 3 hours, but set 3600 to check for reliability. checkforecast() { - [ -s "$1" ] && [ "$(($(date +%s) - $(stat -c %Y "$1")))" -le 3600 ] + [ -s "$1" ] && [ "$(($(date +%s) - $(stat -c %Y "$1")))" -le 86400 ] } get_current_hour() { date +%H | sed 's/^0*//'; } |
