From 6d28f339a2c543e678097429212522fa14c5fd30 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 6 Jun 2025 20:12:36 +0900 Subject: modified statusbar/sb-forecast --- ar/.local/bin/statusbar/sb-forecast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] } -- cgit v1.2.3