diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-05-25 03:43:49 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-05-25 03:43:49 +0900 |
| commit | caf8a4984c4ff6c2105c5b0cc2c74657d1bb1f99 (patch) | |
| tree | dbddd457df81f2ddaf3882b31ecf2c1f2585343c | |
| parent | afb80e32cd9502227fb3c993fb0158ff9a5aab03 (diff) | |
welp... seems like the PR was ok.. lmao..
it seems ~ does not work anymore
| -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..9bdaff4a 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"
\ No newline at end of file |
