From 083bbd3625d2818a87469bf553ec5309e36b4180 Mon Sep 17 00:00:00 2001 From: Kiran George Date: Mon, 6 May 2024 22:12:49 +0530 Subject: Hyprlock weather delay fix --- config/hypr/UserScripts/Weather.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/hypr/UserScripts/Weather.sh') 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 -- cgit v1.2.3