aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 83beff5..0d0bc63 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -64,9 +64,11 @@ Keep the server dependency-free apart from that one package.
(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.
- After 15s with no answer from the server (the PC asleep, or deck-it
- gone) `app.js` covers the page with a "The PC is asleep" overlay and
- drops the lock, so the tablet sleeps too; the first answer takes both back.
+ Before a suspend `deckit/sleep.py` (an elogind delay inhibitor plus
+ `dbus-monitor` on PrepareForSleep) marks answers with `X-Deckit-Sleep` for
+ 2s, and `app.js` covers the page with "The PC is asleep" and drops the
+ lock, so the tablet sleeps too; 15s with no answer at all gives the same
+ overlay as "The PC is not answering". The first plain answer takes both back.
- Launchers are `[launch] apps`, desktop ids run with `gtk-launch`; label and
icon come from the `.desktop` file. The client sends the id, which must be
configured and installed.