aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/Weather.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-05-09 00:35:23 +0900
committerGitHub <noreply@github.com>2024-05-09 00:35:23 +0900
commit472661662b29ec932f017e44a36a63b0dc61ac38 (patch)
tree2217d9d7a5168d2eb367f0b486c6a3238b769b24 /config/hypr/UserScripts/Weather.sh
parent8e9b6f015038ae76ce68035d6aee7ff88a5be06c (diff)
parent25cbdc6a01177a5da063458438cc9ea10271ec9f (diff)
Merge pull request #247 from JaKooLit/development
Development to Main
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