summaryrefslogtreecommitdiff
path: root/ar
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 20:11:29 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 20:11:29 +0900
commitf4e3cc89c114b3d3a5871de07ab21ce6ba2335f9 (patch)
treeb5f4b3b172d2995c5bd1c9544befbca346e044cb /ar
parent58b470132119f01883ef68411adf62f65d91a0e9 (diff)
modified statusbar/sb-forecast
Diffstat (limited to 'ar')
-rwxr-xr-xar/.local/bin/statusbar/sb-forecast2
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*//'; }