aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Williams <129223418+dwilliam62@users.noreply.github.com>2025-05-19 23:21:16 -0400
committerGitHub <noreply@github.com>2025-05-19 23:21:16 -0400
commit5f71518ca66702bd7a9d331a59792a35e524f100 (patch)
treef3fdce626ad5ed2e182c95d9e47e0384aee148dd
parent12133a71c6689be3a02ff6a58599917d98051a7f (diff)
parentba748d28200a73381634be3d50bf8228f57d8204 (diff)
Merge pull request #689 from ItsChoudhry/main
Replace tilda with $HOME because it's expands correctly this way
-rwxr-xr-xconfig/hypr/UserScripts/Weather.sh4
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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage