diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-05-19 23:23:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:23:51 -0400 |
| commit | d901ffc34f9c071e558ddaf27df17d56b8a79e42 (patch) | |
| tree | 0f736dc629c7d3b83b247488c0a2e72ee46331ba /config/hypr/UserScripts/Weather.sh | |
| parent | dabdc580beca83421a74ab0c93e18d93cd1bd204 (diff) | |
| parent | 5f71518ca66702bd7a9d331a59792a35e524f100 (diff) | |
Merge branch 'main' into main
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" |
