diff options
| author | Daniel Walker <haxxordan@proton.me> | 2025-05-01 06:19:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-01 06:19:15 -0700 |
| commit | 4a32690728aaa342374f82a81f1c9c410b90f158 (patch) | |
| tree | 974413e740d8a348b82c403a4c41a4f7866b1b38 /config/hypr/UserScripts | |
| parent | 65e06b22bf27d95a7cd4db6569528567046f006a (diff) | |
Update Weather.py
fix wind speed display
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index c962ecd3..efa96813 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -88,7 +88,7 @@ temp_max = ( temp_min_max = f" {temp_min}\t\t {temp_max}" # wind speed -wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[0] +wind_speed = str(html_data("span[data-testid='Wind'] > span").text()) wind_text = f" {wind_speed}" # humidity |
