summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-23 10:26:25 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-23 10:26:25 +0900
commita53d8cb3ae1b664ff41ce393569f5666f9549a2c (patch)
treeb0218e0c8937fed7d596432c35c9d35a6f22ce9f
parent4a8e23a5e6c738f45a3e73674494917b27a1a0f5 (diff)
modified statusbar/sb-forecast
-rwxr-xr-xar/.local/bin/statusbar/sb-forecast1
1 files changed, 1 insertions, 0 deletions
diff --git a/ar/.local/bin/statusbar/sb-forecast b/ar/.local/bin/statusbar/sb-forecast
index e965816..8ac571b 100755
--- a/ar/.local/bin/statusbar/sb-forecast
+++ b/ar/.local/bin/statusbar/sb-forecast
@@ -10,6 +10,7 @@ weatherreport="${XDG_CACHE_HOME:-${HOME}/.cache}/weatherreport"
weatherreportjson="${XDG_CACHE_HOME:-${HOME}/.cache}/weatherreport.json"
error() {
+ rm -f "$weatherreport" "$weatherreportjson"
notify-send -u critical "⛔ Failed to update 'weather$1'"
exit 1
}