From 88f120cb544296f4c760546a204f1e2268a2e5dd Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 30 Nov 2026 11:01:09 +0100 Subject: 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 --- AGENTS.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index bbee4bb..0da1307 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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 `` 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` -- cgit v1.2.3