aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
-rwxr-xr-xconfig/hypr/UserScripts/Weather.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py
index 046dbcd3..5cd11a66 100755
--- a/config/hypr/UserScripts/Weather.py
+++ b/config/hypr/UserScripts/Weather.py
@@ -76,7 +76,7 @@ temp_min_max = f" {temp_min}\t\t {temp_max}"
# wind speed
wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[1]
-wind_text = f"煮 {wind_speed}"
+wind_text = f" {wind_speed}"
# print(wind_text)
# humidity
@@ -123,14 +123,14 @@ out_data = {
}
print(json.dumps(out_data))
-simple_weather =f"{icon} {status}\n" + \
+simple_weather =f"{icon} {status}\n" + \
f" {temp} ({temp_feel_text})\n" + \
- f"{wind_text}\n" + \
- f"{humidity_text}\n" + \
- f"{visbility_text} AQI {air_quality_index}\n"
+ f"{wind_text} \n" + \
+ f"{humidity_text} \n" + \
+ f"{visbility_text} AQI{air_quality_index}\n"
try:
with open(os.path.expanduser("~/.cache/.weather_cache"), "w") as file:
file.write(simple_weather)
except:
- pass \ No newline at end of file
+ pass
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage