S016: R1-11 system accent follows the Caelestia scheme

On niri with the Caelestia shell the desktop colours live in
~/.local/state/caelestia/scheme.json, while GNOME's accent-color (and the portal) stay at
a stale 'red'. system_accent reads the scheme's primary first. smoke.sh isolates
XDG_STATE_HOME so runs never see the user's state.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-12 07:09:30 -06:00
commit 72773bc54a

View file

@ -165,9 +165,13 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
pages; `draw` restyles when the active tab's site colour changes (also on Back to the web page). Test added.
- Verified: 53 unit tests; `SMOKE_SIZE=1280x1100 tools/smoke.sh tests/smoke/colours.txt` (new, page
`pages/theme-colour.html`) all shots as expected; visible run covers site → Settings → Back (taps miss at 772 px).
- System accent on niri + Caelestia: read `~/.local/state/caelestia/scheme.json` primary before kdeglobals and
GNOME's stale `'red'`; test added; smoke.sh now isolates `XDG_STATE_HOME`. Visible shot with a copy of the
user's scheme shows the desktop's pink-purple. Not done: live follow of wallpaper changes (restart needed).
- Not seen: the user's exact path, if it was another one; ask them to retry.
## Later
- System accent: watch caelestia scheme.json / the portal `accent-color` and restyle live (R1-11).
- Reader mode, split view, translate, real gamepad rumble (D-002: not planned for now).
- Packaging and first release (D-001: plan when the user asks).
- Shortcut icons: a favicon cache by host (today only open tabs' favicons show); a `scroll` selftest command.