diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-30 11:01:09 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-30 11:01:09 +0100 |
| commit | 88f120cb544296f4c760546a204f1e2268a2e5dd (patch) | |
| tree | be14896616b3733556f3bc10a1406fc3c84d6044 /AGENTS.md | |
| parent | 96355cff09db091f5251ae851c46b8d1dd67f7a0 (diff) | |
| download | deck-it-88f120cb544296f4c760546a204f1e2268a2e5dd.tar.gz deck-it-88f120cb544296f4c760546a204f1e2268a2e5dd.zip | |
feat(dashboard): drop the action icons row
The screenshot and lock buttons went unused; the keyboard is faster.
The actions module keeps only the hyprlock watcher that sleeps and wakes
the tablet, under the same name since keystone's module toggle uses it.
[dashboard] actions is gone from the config and its validation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -24,7 +24,7 @@ Keep the server dependency-free apart from that one package. `static/dashboard.js`: one fixed screen with no drag, resize or fold. A top band of chips (stats, Claude usage from `llm`, tablet battery and Wi-Fi), music and spending (`llm`) always on, a running row of chips for one to - three busy modules, and the action icons. A panel that can be running + three busy modules. A panel that can be running exports `busy(state)` and `slot(state, el)` (`k1c.js`, `sbbuilder.js`, `obs.js`); a slot builds its markup once and then only sets text, so its scrolling lines are not restarted. The slot, and an optional @@ -32,15 +32,14 @@ Keep the server dependency-free apart from that one package. package by package), is drawn into a centred `<dialog closedby="any">` a tap on its chip opens (a tap outside closes it, a tap inside opens the tab); the chip copies the slot's `.sic`, `.pct` and `.bar`. Hyprland's border colours (`--udt-border-1..3`) colour - the trend lines and progress bars and rotate around the action icons. + the trend lines and progress bars. - `stats` also carries `updates`, keystone's "to install" count from `updatesctl` (`[dashboard] updates`, empty hides it), re-read in a thread every 5 min so its NFS reads never stall the 1s poll. -- `actions` serves the Dashboard's icons: `[dashboard] actions`, ids from - `config.ACTION_IDS`, each a fixed command (`screenshot` runs - `qar-scrotmenu.sh`, `lock` runs `lock.sh`). Its watcher checks `pidof +- `actions` has no state and no actions, only a watcher: it checks `pidof hyprlock` every 2s and sends the tablet `KEYCODE_SLEEP` on lock and - `KEYCODE_WAKEUP` on unlock, for every lock, not only the button. + `KEYCODE_WAKEUP` on unlock. (Its Dashboard icons were dropped; the name + stays because keystone's module toggle uses it.) - `deckit/theme.py` reads UDT's palette (`~/.config/rofi/udt/palette.rasi`) and `~/.cache/udt/udt-border.lua`; the frontend uses only those CSS variables. Text size is keystone's (`~/.config/keystone/fonts.json`, `override.deckit` |
