diff options
| -rw-r--r-- | AGENTS.md | 2 | ||||
| -rw-r--r-- | clock/src/preset.json | 2 | ||||
| -rw-r--r-- | clock/tallclock.kwgt | bin | 100665 -> 100688 bytes |
3 files changed, 3 insertions, 1 deletions
@@ -57,6 +57,8 @@ phone besides KWGT. 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). +- KWGT has no relative-day word or locale function, so the event line + hardcodes "Domani" for tomorrow (`df(D, ci(start, 0)) = df(D, a1d)`). - `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 e112440..1df126e 100644 --- a/clock/src/preset.json +++ b/clock/src/preset.json @@ -198,7 +198,7 @@ { "internal_type": "TextModule", "internal_title": "Next event", - "text_expression": "$if(ci(title, 0) = \"\", \"\", if(df(D, ci(start, 0)) = df(D), if(ci(allday, 0) = 1, ci(title, 0), df(HH:mm, ci(start, 0)) + \" · \" + ci(title, 0) + \" · \" + tf(ci(start, 0))), tc(cap, df(if(ci(allday, 0) = 1, \"EEE\", \"EEE HH:mm\"), ci(start, 0))) + \" · \" + ci(title, 0)))$", + "text_expression": "$if(ci(title, 0) = \"\", \"\", if(df(D, ci(start, 0)) = df(D), if(ci(allday, 0) = 1, ci(title, 0), df(HH:mm, ci(start, 0)) + \" · \" + ci(title, 0) + \" · \" + tf(ci(start, 0))), if(df(D, ci(start, 0)) = df(D, a1d), \"Domani\" + if(ci(allday, 0) = 1, \"\", \" \" + df(HH:mm, ci(start, 0))), tc(cap, df(if(ci(allday, 0) = 1, \"EEE\", \"EEE HH:mm\"), ci(start, 0)))) + \" · \" + ci(title, 0)))$", "text_size": 42.0, "text_family": "kfile://org.kustom.provider/fonts/BarlowCondensed-Medium.ttf", "paint_color": "#FFE8DEFF", diff --git a/clock/tallclock.kwgt b/clock/tallclock.kwgt Binary files differindex 79d6284..7500d70 100644 --- a/clock/tallclock.kwgt +++ b/clock/tallclock.kwgt |
