diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-05-19 23:29:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:29:54 -0400 |
| commit | 514001bee7860c3e72029f884b2540d055ee8376 (patch) | |
| tree | 7dc3e3498b72456b29287a2a4f77d7450fb1ed8e /config/hypr/UserScripts/Weather.sh | |
| parent | 4a32690728aaa342374f82a81f1c9c410b90f158 (diff) | |
| parent | 0f08298b02d60d46c4e4f16d3878eb0b4840f65b (diff) | |
Merge branch 'main' into patch-1
Diffstat (limited to 'config/hypr/UserScripts/Weather.sh')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/Weather.sh b/config/hypr/UserScripts/Weather.sh index f5bf9fa9..0294e042 100755 --- a/config/hypr/UserScripts/Weather.sh +++ b/config/hypr/UserScripts/Weather.sh @@ -4,7 +4,7 @@ # Remember to add city city= -cachedir="~/.cache/rbn" +cachedir="$HOME/.cache/rbn" cachefile=${0##*/}-$1 if [ ! -d $cachedir ]; then @@ -84,4 +84,4 @@ echo -e "{\"text\":\""$temperature $condition"\", \"alt\":\""${weather[0]}"\", \ cached_weather=" $temperature \n$condition ${weather[1]}" -echo -e $cached_weather > "~/.cache/.weather_cache"
\ No newline at end of file +echo -e $cached_weather > "$HOME/.cache/.weather_cache" |
