From f4e3cc89c114b3d3a5871de07ab21ce6ba2335f9 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 6 Jun 2025 20:11:29 +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 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*//'; } -- cgit v1.2.3