mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The dock could only be switched on from the tray and told which provider to rest on by clicking a row. Its section in General now carries the mac's whole set: the switch, the resting provider, size from 60 to 120 percent in fives, appearance, gauge shape, and one switch per provider with the rule that the last connected one cannot be deselected, so the rail can never be left with nothing to show. They live in windows-dock.json beside the rail's placement rather than in windows-settings.json, because the dock reads that file from Rust before its page exists. A change emits codeburn://dock-settings-changed, and the rail follows the resting provider and the provider set the moment either is changed rather than at its next refresh. An empty provider set means nobody has chosen yet, which is why it shows everything connected instead of nothing; the switches latch manualSelection so the auto-seeding that comes with the dock work will not second-guess a choice. Size, appearance and gauge shape are stored but not yet read: rebuilding the rail metrics from a scale, the acrylic surface and the squircle gauge all belong to the dock itself, and the section says so rather than looking broken. |
||
|---|---|---|
| .. | ||
| dist | ||
| Scripts | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tokens.json | ||
| tsconfig.json | ||
| vite.config.ts | ||