diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-11 10:01:11 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-11 10:01:11 +0100 |
| commit | 79d3be64f0a3e4552b08c80f1678649ccbff2a7c (patch) | |
| tree | 9f6532b6119a6a71dd08d108bd1527cec6b8ce41 /AGENTS.md | |
| parent | 978ec811803cdbeb10dc2e6924ab33aa2b84bec6 (diff) | |
| download | deck-it-79d3be64f0a3e4552b08c80f1678649ccbff2a7c.tar.gz deck-it-79d3be64f0a3e4552b08c80f1678649ccbff2a7c.zip | |
feat(windows): a new window brings the Windows tab forward
When a window id appears that the last poll did not list, the tablet
shows the Windows tab for [windows] peek seconds (default 8, 0 off) and
then goes back to the tab it was on. A touch on the page or a tab change
meanwhile keeps it there; another new window restarts the timer.
The hook is generic: a panel's peek(state) returns seconds, app.js does
the switching. The first poll only learns what is open, and an error
state keeps what it knew, so neither triggers it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -90,6 +90,10 @@ Keep the server dependency-free apart from that one package. 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`). +- A panel may export `peek(state)`; when it returns seconds > 0 `app.js` + shows that tab that long and then goes back, unless the page is touched or + the tab changed meanwhile. `windows.js` peeks on a window id the last poll + lacked, for `[windows] peek` seconds (0 off). - 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. |
