diff options
| -rw-r--r-- | AGENTS.md | 4 | ||||
| -rw-r--r-- | clock/src/preset.json | 18 | ||||
| -rw-r--r-- | clock/tallclock.kwgt | bin | 100598 -> 100665 bytes |
3 files changed, 19 insertions, 3 deletions
@@ -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 Binary files differindex ef693c5..79d6284 100644 --- a/clock/tallclock.kwgt +++ b/clock/tallclock.kwgt |
