aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.sh
diff options
context:
space:
mode:
authorKiran George <kirangeorge1995@gmail.com>2024-05-06 22:12:49 +0530
committerKiran George <kirangeorge1995@gmail.com>2024-05-06 22:12:49 +0530
commit083bbd3625d2818a87469bf553ec5309e36b4180 (patch)
treec0c4c81bc813707cd5452cabcd894e68d4ffee63 /config/hypr/UserScripts/Weather.sh
parent0c76bebdd4227a11f8045a62fbdc6fea30d4e8a0 (diff)
Hyprlock weather delay fix
Diffstat (limited to 'config/hypr/UserScripts/Weather.sh')
-rwxr-xr-xconfig/hypr/UserScripts/Weather.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/Weather.sh b/config/hypr/UserScripts/Weather.sh
index 40048710..f916b028 100755
--- a/config/hypr/UserScripts/Weather.sh
+++ b/config/hypr/UserScripts/Weather.sh
@@ -78,3 +78,7 @@ esac
#echo $temp $condition
echo -e "{\"text\":\""$temperature $condition"\", \"alt\":\""${weather[0]}"\", \"tooltip\":\""${weather[0]}: $temperature ${weather[1]}"\"}"
+
+cached_weather=" $temperature \n$condition ${weather[1]}"
+
+echo -e $cached_weather > ~/.cache/.weather_cache \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage