aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-13 14:06:41 +0100
committerDanilo M. <danix@danix.xyz>2026-11-13 14:06:41 +0100
commit863f7453f9e136cadc93db9f3f0b8f257f798ce8 (patch)
treea24c2453dd0d9b8e7317378ee8da56e205a0f3bb /AGENTS.md
parentfe55526cbc6015c4268ee155f21bcb11de5609b5 (diff)
downloaddeck-it-863f7453f9e136cadc93db9f3f0b8f257f798ce8.tar.gz
deck-it-863f7453f9e136cadc93db9f3f0b8f257f798ce8.zip
feat(tablet): a font of the PC's for the dim cover's clock
[tablet] clock_font names a font family installed on the PC; the server finds its file with fc-match and serves it at /fonts/clock, and the cover's clock uses it, the date too while clock_font_date is on (default). fc-match falls back to any font, so the route answers only when the returned family is the one named; otherwise the page font stays. The font file never enters the repo, so a personal-use font can be used on one's own tablet without redistributing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 4c34dee..c577643 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -87,7 +87,10 @@ Keep the server dependency-free apart from that one package.
covers the page with `#dimmer` and `tablet`'s `dim` action sets the
backlight to `dim_brightness` over adb (auto brightness off meanwhile); the
touch on the cover calls `undim`, which puts both back, as does the
- module's `stop`.
+ module's `stop`. The cover's clock (and, with `clock_font_date`, its
+ date) uses `[tablet] clock_font`, a family installed on the PC that the
+ server finds with `fc-match` and serves at `/fonts/clock`; the font file
+ never enters the repo, so a personal-use font is fine.
Before a suspend, poweroff or reboot `deckit/sleep.py` (an elogind delay
inhibitor plus `dbus-monitor` on PrepareForSleep/PrepareForShutdown) marks
answers with `X-Deckit-Sleep: asleep|shutting down` for 2s, and `app.js`