diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2024-05-07 02:12:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 02:12:38 +0900 |
| commit | 6e3d093a4477b3a5e014e5f99b0315ea7e81199a (patch) | |
| tree | e54326fe7388ba4a15b0ede91b4ebef698bd01e5 /config/hypr/UserScripts/Weather.sh | |
| parent | 14afd2ce055bd2470d2f2aa720bf12678130cd9c (diff) | |
| parent | 083bbd3625d2818a87469bf553ec5309e36b4180 (diff) | |
Merge pull request #242 from SherLock707/development
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 |
