aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.py
diff options
context:
space:
mode:
authorDonald Williams <129223418+dwilliam62@users.noreply.github.com>2025-09-23 20:05:01 -0400
committerGitHub <noreply@github.com>2025-09-23 20:05:01 -0400
commitf96dcf550c76e29a6fe4d6677563078ed8e2200d (patch)
tree15c57da8c5beb725984225e4692578d7add40e12 /config/hypr/UserScripts/Weather.py
parent70cb2274b35516802c1ee77b56f50f81ab68d32a (diff)
parentb4e0fda59b10440006b0a7bea5d8c0419d016eb0 (diff)
Merge branch 'development' into qs_overview_fix_v2
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
-rwxr-xr-xconfig/hypr/UserScripts/Weather.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py
index efa96813..a8b70417 100755
--- a/config/hypr/UserScripts/Weather.py
+++ b/config/hypr/UserScripts/Weather.py
@@ -59,7 +59,8 @@ status = html_data("div[data-testid='wxPhrase']").text()
status = f"{status[:16]}.." if len(status) > 17 else status
# status code
-status_code = html_data("#regionHeader").attr("class").split(" ")[2].split("-")[2]
+# Fix provided by mio-dokuhaki
+status_code = html_data("#regionHeader").attr("class").split(" ")[1].split("-")[0]
# status icon
icon = (
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage