diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-31 07:55:44 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-31 07:55:44 +0900 |
| commit | f61e1892b33ee1abc5eadd2db5fa2b981d79fa03 (patch) | |
| tree | 78930e7c3c6fcc91737678b1a84cbac722c2129c /ar | |
| parent | 48ab1ba3a076e497409eb2f87ab197a9c89fa184 (diff) | |
modified statusbar/sb-forecast
Diffstat (limited to 'ar')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-forecast | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ar/.local/bin/statusbar/sb-forecast b/ar/.local/bin/statusbar/sb-forecast index 9966c61..cbab938 100755 --- a/ar/.local/bin/statusbar/sb-forecast +++ b/ar/.local/bin/statusbar/sb-forecast @@ -22,7 +22,8 @@ getweatherreport() { } getweatherreportjson() { - timeout --signal=1 10s curl -sf "$url/$LOCATION?format=j1" >"$weatherreportjson" || error "reportjson" + timeout --signal=1 10s curl -sf "$url/$LOCATION?format=j1" >"$weatherreportjson" || + error "reportjson" } # Forecast should be updated every 3 hours, but set 3600 to check for reliability. |
