aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.sh
diff options
context:
space:
mode:
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