diff options
| author | Kiran George <kirangeorge1995@gmail.com> | 2024-05-06 22:12:49 +0530 |
|---|---|---|
| committer | Kiran George <kirangeorge1995@gmail.com> | 2024-05-06 22:12:49 +0530 |
| commit | 083bbd3625d2818a87469bf553ec5309e36b4180 (patch) | |
| tree | c0c4c81bc813707cd5452cabcd894e68d4ffee63 /config/hypr/UserScripts/Weather.sh | |
| parent | 0c76bebdd4227a11f8045a62fbdc6fea30d4e8a0 (diff) | |
Hyprlock weather delay fix
Diffstat (limited to 'config/hypr/UserScripts/Weather.sh')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.sh | 4 |
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 |
