aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.py
diff options
context:
space:
mode:
authorinstaller <installer@gmail.com>2025-02-23 16:48:35 +0900
committerinstaller <installer@gmail.com>2025-02-23 16:48:35 +0900
commit22d468e8546f54abd401404d411b97145d4635b2 (patch)
tree6c7bf49bf055ac6574cd90b721e194c89a8f2e5e /config/hypr/UserScripts/Weather.py
parent8fb8cd1101a77abfa7d01f28846cc09399741c56 (diff)
nope..
these 2 does not like $HOME
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 a2ad98b5..b9efe4e4 100755
--- a/config/hypr/UserScripts/Weather.py
+++ b/config/hypr/UserScripts/Weather.py
@@ -138,7 +138,7 @@ simple_weather = (
)
try:
- with open(os.path.expanduser("$HOME/.cache/.weather_cache"), "w") as file:
+ with open(os.path.expanduser("~/.cache/.weather_cache"), "w") as file:
file.write(simple_weather)
except Exception as e:
print(f"Error writing to cache: {e}")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage