aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.py
diff options
context:
space:
mode:
authorDonald Williams <129223418+dwilliam62@users.noreply.github.com>2025-05-19 23:44:00 -0400
committerGitHub <noreply@github.com>2025-05-19 23:44:00 -0400
commitdcf0e1246c06406dcc50a7002c0925b6aa340533 (patch)
tree5b3fbba16327c5a43ab55232047d2267bba6ec7b /config/hypr/UserScripts/Weather.py
parent2be2599608b67390bb210a80584a31cb093ec13f (diff)
parentb6b6acad2a51c096ba707f976bf862c5dec5cb5e (diff)
Merge branch 'main' into main
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
-rwxr-xr-xconfig/hypr/UserScripts/Weather.py2
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage