diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-05-13 02:36:43 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-13 02:36:43 +0900 |
| commit | 683e801de6ee2fe01513311e2bc13f695cd96486 (patch) | |
| tree | 64df94cb64f5ba161761bfd64ae93658ca163f9c /config/hypr/UserScripts/Weather.py | |
| parent | 35327b2814b228253464f0358f58c553ec98002b (diff) | |
| parent | ea93a71cf6ac92041f00168e040cdc22882047b7 (diff) | |
Merge branch 'development' into main
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.py | 12 |
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 |
