aboutsummaryrefslogtreecommitdiffstats
path: root/clock/src/preset.json
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-12-02 16:30:05 +0100
committerDanilo M. <danix@danix.xyz>2026-12-02 16:30:05 +0100
commit535d1fa7af69bc9f7573fd08a7d8ebea9303f149 (patch)
tree1649cc6cdbe8ab00f74a1b63f95af946446a642a /clock/src/preset.json
parentd128872a2df419798893bae2d5e7a52505ff3dc8 (diff)
downloadphone-customization-535d1fa7af69bc9f7573fd08a7d8ebea9303f149.tar.gz
phone-customization-535d1fa7af69bc9f7573fd08a7d8ebea9303f149.zip
clock: show "Domani" for tomorrow's event instead of the day nameHEADmaster
KWGT has no localized relative-day word, so the Italian label is hardcoded; events further out keep the short day name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'clock/src/preset.json')
-rw-r--r--clock/src/preset.json2
1 files changed, 1 insertions, 1 deletions
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",