aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.py
diff options
context:
space:
mode:
authoralzalia1 <alzalia436@gmail.com>2024-07-11 14:08:27 +0200
committeralzalia1 <alzalia436@gmail.com>2024-07-11 14:08:27 +0200
commit3301c62d9571b52b53d70202c30422a22fa6b54b (patch)
treeca05a9986f2b8a46da87822c447116b1d03e1f33 /config/hypr/UserScripts/Weather.py
parentc314624196ada2ec5c17f1335226990a7644320d (diff)
fix: fix bug on Weather.py reversing min/max temp
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
-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