From 9e24ee5f94a211cc76fad37c00ab0e60d340c3fc Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 2 Dec 2026 16:04:53 +0100 Subject: clock: tap date for Niagara agenda, event for Etar event view KWGT's LAUNCH_APP forces MAIN/LAUNCHER, so deep links need OPEN_LINK. The date line (date, weather, temperature) now opens niagara://agenda instead of Etar's main view; previously weather fell through to the clock app. The event line opens the shown event via ci(url, 0). Co-Authored-By: Claude Opus 5.5 --- clock/src/preset.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'clock/src/preset.json') diff --git a/clock/src/preset.json b/clock/src/preset.json index 33f346a..7b5650f 100644 --- a/clock/src/preset.json +++ b/clock/src/preset.json @@ -65,14 +65,7 @@ "fx_shadow_direction": 270.0, "fx_shadow_distance": 3.0, "fx_shadow_blur": 4.0, - "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=ws.xsoh.etar/com.android.calendar.AllInOneActivity;end" - } - ] + "position_anchor": "CENTER" }, { "internal_type": "TextModule", @@ -118,6 +111,13 @@ "fx_shadow_blur": 4.0, "position_anchor": "CENTER" } + ], + "internal_events": [ + { + "type": "SINGLE_TAP", + "action": "OPEN_LINK", + "url": "niagara://agenda" + } ] }, { @@ -205,8 +205,8 @@ "internal_events": [ { "type": "SINGLE_TAP", - "action": "LAUNCH_APP", - "intent": "intent:#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;component=ws.xsoh.etar/com.android.calendar.AllInOneActivity;end" + "action": "OPEN_LINK", + "url": "$ci(url, 0)$" } ] } @@ -214,4 +214,4 @@ } ] } -} \ No newline at end of file +} -- cgit v1.2.3