diff options
| author | Donald Williams <129223418+dwilliam62@users.noreply.github.com> | 2025-05-19 23:21:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-19 23:21:16 -0400 |
| commit | 5f71518ca66702bd7a9d331a59792a35e524f100 (patch) | |
| tree | f3fdce626ad5ed2e182c95d9e47e0384aee148dd /config/hypr/UserScripts/Weather.sh | |
| parent | 12133a71c6689be3a02ff6a58599917d98051a7f (diff) | |
| parent | ba748d28200a73381634be3d50bf8228f57d8204 (diff) | |
Merge pull request #689 from ItsChoudhry/main
Replace tilda with $HOME because it's expands correctly this way
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" |
