aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-12-02 16:25:19 +0100
committerDanilo M. <danix@danix.xyz>2026-12-02 16:25:19 +0100
commitd128872a2df419798893bae2d5e7a52505ff3dc8 (patch)
tree3e8d17d665127887c6e9ce7efb6d9ce259540f75
parent9e24ee5f94a211cc76fad37c00ab0e60d340c3fc (diff)
downloadphone-customization-d128872a2df419798893bae2d5e7a52505ff3dc8.tar.gz
phone-customization-d128872a2df419798893bae2d5e7a52505ff3dc8.zip
clock: tap weather or temperature to open Breezy Weather
Breezy (standard build) can use OpenWeatherMap, the same provider as KWGT, so the app shows the same data as the widget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--AGENTS.md4
-rw-r--r--clock/src/preset.json18
-rw-r--r--clock/tallclock.kwgtbin100598 -> 100665 bytes
3 files changed, 19 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index f1e03bd..24dd3b0 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -53,7 +53,9 @@ phone besides KWGT.
fire deep links. For a URI use `{"action": "OPEN_LINK", "url": "..."}`
(VIEW intent); `url` accepts inline `$formulas$`.
- Date line taps open Niagara's agenda overlay: `niagara://agenda` (Niagara
- has no weather overlay link). The event line opens the event itself in Etar
+ has no weather overlay link). The weather icon and temperature open Breezy
+ Weather (`org.breezyweather/.ui.main.MainActivity`, GitHub "standard"
+ build; both it and KWGT use OpenWeatherMap so the numbers match). The event line opens the event itself in Etar
via `$ci(url, 0)$` (a `content://com.android.calendar/events/<id>` link).
- `tf(date)` gives a localized countdown ("fra 25 minuti"); `ci(..., 0)` is
the next calendar event; both need KWGT's calendar/location permissions.
diff --git a/clock/src/preset.json b/clock/src/preset.json
index 7b5650f..e112440 100644
--- a/clock/src/preset.json
+++ b/clock/src/preset.json
@@ -87,7 +87,14 @@
"fx_shadow_direction": 270.0,
"fx_shadow_distance": 3.0,
"fx_shadow_blur": 4.0,
- "position_anchor": "CENTER"
+ "position_anchor": "CENTER",
+ "internal_events": [
+ {
+ "type": "SINGLE_TAP",
+ "action": "LAUNCH_APP",
+ "intent": "intent:#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;component=org.breezyweather/.ui.main.MainActivity;end"
+ }
+ ]
},
{
"internal_type": "TextModule",
@@ -109,7 +116,14 @@
"fx_shadow_direction": 270.0,
"fx_shadow_distance": 3.0,
"fx_shadow_blur": 4.0,
- "position_anchor": "CENTER"
+ "position_anchor": "CENTER",
+ "internal_events": [
+ {
+ "type": "SINGLE_TAP",
+ "action": "LAUNCH_APP",
+ "intent": "intent:#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;component=org.breezyweather/.ui.main.MainActivity;end"
+ }
+ ]
}
],
"internal_events": [
diff --git a/clock/tallclock.kwgt b/clock/tallclock.kwgt
index ef693c5..79d6284 100644
--- a/clock/tallclock.kwgt
+++ b/clock/tallclock.kwgt
Binary files differ