Add live weather (#5633)

* Add live weather

* Just use jq

* Add Weather app and make it click target

* Simplify

* Looks better

* Nicer flow

* Simplify

* Move to using the notification instead of tooltip

* No longer needed
This commit is contained in:
David Heinemeier Hansson
2026-05-07 10:48:32 +02:00
committed by GitHub
parent 42cd7472cf
commit 6b6d71a9d2
8 changed files with 122 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
icon=$(omarchy-weather-icon 2>/dev/null)
if [[ -n $icon ]]; then
icon=$(printf '%s' "$icon" | sed 's/["\\]/\\&/g')
printf '{"text":"%s"}\n' "$icon"
else
printf '{"text":"","class":"unavailable"}\n'
fi