diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-09-22 16:28:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-22 16:28:27 -0400 |
| commit | 58e1933d499436544ae1231f7b6686b80dacbff3 (patch) | |
| tree | ba08440de4ce27079cf70644ddc9f8d98f6776ff /config/hypr/UserScripts | |
| parent | 3da2f5e614c796372c76967afbb41a6ae5d5a41d (diff) | |
| parent | ce072686ca7e143032b0cb1b29ee7cea34a87541 (diff) | |
Merge branch 'development' into feat/sddm-wallpaper-default-path-detection
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.py | 3 |
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 = ( |
