diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -79,7 +79,11 @@ Keep the server dependency-free apart from that one package. serves at `/fonts/nerd.ttf`; Markdown goes through `static/md.js` (vendored `marked`, HTML escaped, images never fetched). - The page holds a Screen Wake Lock while visible, so the tablet never sleeps - over the dashboard; nothing on the tablet's settings is changed. + over the dashboard. After `[tablet] dim_after` seconds untouched, `app.js` + 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`. 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` |
