diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -80,10 +80,10 @@ 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. - 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 + 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` + covers the page with "The PC is <that>" 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. - The Windows tab's previews are `grim -T <stableId>` (Hyprland's stableId is the ext-foreign-toplevel identifier), served at `/api/windows/image/<id>` |
