| Age | Commit message (Collapse) | Author | Files | Lines |
|
The dim cover's time and date fonts move out of [tablet] clock_font and
clock_font_date into keystone's fonts.json: "family" deckit-clock and
deckit-date, each served at /fonts/<key>, and the "override" sizes
deckit:clock and deckit:date (else deck.css's 8rem and 1.6rem). The date
can now have a font of its own. theme.css carries the rules, so a save
on the Fonts page reaches an open tablet page within 5s, with no restart
and no flags in the tablet state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
[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>
|
|
The server never ran the modules' stop: `deck-it stop` ends it with
SIGTERM and nothing called stop_all, so a shutdown left the tablet dim.
A SIGTERM handler now runs stop_all before exiting.
The settings from before a dim lived only in memory, so a new server's
undim had nothing to put back. They are now kept in
~/.cache/deck-it/dim, and a freshly loaded page asks for undim, since it
is never dimmed itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
After [tablet] dim_after seconds with no touch the page covers itself and
the tablet module's dim action lowers the backlight to dim_brightness over
adb, with auto brightness off meanwhile; an LCD's backlight is the drain,
so a dark page alone saves little. The touch on the cover only calls
undim, which restores both settings, as does the module's stop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Reads `dumpsys battery` and `cmd wifi status` (Android 11+) over adb
from the device whose reverse carries the dashboard socket, so a switch
between USB and Wi-Fi is followed. Reads are cached for 10s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|