diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-05-19 23:35:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:35:10 -0400 |
| commit | b6b6acad2a51c096ba707f976bf862c5dec5cb5e (patch) | |
| tree | 7dc3e3498b72456b29287a2a4f77d7450fb1ed8e /config/hypr/UserScripts/Weather.py | |
| parent | 0f08298b02d60d46c4e4f16d3878eb0b4840f65b (diff) | |
| parent | 514001bee7860c3e72029f884b2540d055ee8376 (diff) | |
Merge pull request #684 from haxxordan/patch-1
Fix weather widget in waybar by pulling wind speed correctly
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
| -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 |
