aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 0d0bc63..62c163d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -69,6 +69,11 @@ Keep the server dependency-free apart from that one package.
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.
+- The Windows tab's previews are `grim -T <stableId>` (Hyprland's stableId is
+ the ext-foreign-toplevel identifier), served at `/api/windows/image/<id>`
+ through `Module.image`, only for a window the last state listed; the URL
+ changes every 5s so the browser cache answers in between. Workspace icons
+ come from keystone's `Workspaces.qml` map (`[windows] workspace_icons`).
- 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.