aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts
diff options
context:
space:
mode:
authorChoudhry <23042676+ItsChoudhry@users.noreply.github.com>2025-05-05 02:10:05 +0100
committerGitHub <noreply@github.com>2025-05-05 02:10:05 +0100
commit0f784309527acc4a22c81eb2d44d4d16f3676c39 (patch)
treec788ce242f559fb31a562fff5ca82289feead246 /config/hypr/UserScripts
parent65e06b22bf27d95a7cd4db6569528567046f006a (diff)
Replace tilda with $HOME because it's expands correctly this way
Diffstat (limited to 'config/hypr/UserScripts')
-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