aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-07-12 12:12:42 +0900
committerGitHub <noreply@github.com>2024-07-12 12:12:42 +0900
commit17a81997071b9206fcf6798e5a6b02055e4199b7 (patch)
treeca05a9986f2b8a46da87822c447116b1d03e1f33
parentc314624196ada2ec5c17f1335226990a7644320d (diff)
parent3301c62d9571b52b53d70202c30422a22fa6b54b (diff)
Merge pull request #383 from alzalia1/weatherpy-bugfix
Weather.py bug fix (max/min temp mismatch)
-rwxr-xr-xconfig/hypr/UserScripts/Weather.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py
index 1d2ea30b..c0a40fd7 100755
--- a/config/hypr/UserScripts/Weather.py
+++ b/config/hypr/UserScripts/Weather.py
@@ -63,12 +63,12 @@ temp_feel_text = f"Feels like {temp_feel}c"
# min-max temperature
temp_min = (
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
- .eq(0)
+ .eq(1)
.text()
)
temp_max = (
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
- .eq(1)
+ .eq(0)
.text()
)
temp_min_max = f"ī‹‹ {temp_min}\t\t {temp_max}"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage