fix(waybar,menu): #51 doctor indicator glyph + CC rebuild hints + scroll
Some checks failed
Check / eval (push) Has been cancelled

Doctor Waybar indicator now emits a non-empty glyph (󰒡) + class:bad when
unhealthy (was "text":"" → self-hidden, so the tripwire never showed);
Control Center appearance toggles (blur/gaps) print "(requires rebuild)"
matching the other CC toggles; summer-day workspace scroll e±1 → r±1 to
match every other bar.

Worktree agent; diff reviewed + cherry-picked. V0 flake check + V1
(HM generation, nomarchy-control-center build). V2 render folded into #44.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-07-09 19:32:31 +01:00
parent f6975a9797
commit 75d76fabd7
5 changed files with 24 additions and 17 deletions

View File

@@ -102,20 +102,13 @@ Next slice: on hardware, run `hyprctl clients` while each is open, read
the real `class`, then append rules. Also revisit whether blueman/s-c-p
actually float once seen (regex tolerance for the `.…-wrapped` form).
### 51. Waybar/menu behaviour bugs (promoted 2026-07-09, V2)
- **Waybar doctor indicator never shows an icon:** `modules/home/waybar.nix`
`nomarchy-doctor-status` prints `"text":""` on failure — empty-text custom
modules self-hide, so the tripwire never appears. Fix: non-empty glyph
(e.g. `󰒡`) + `class: bad` when unhealthy; no output/exit 0 when healthy.
- **Control Center appearance toggles are silent no-ops:**
`nomarchy-control-center.sh` `set_state` is always `--no-switch`, so
blur/gaps only land on a later rebuild with no warning (unlike
Updates/Bluetooth). Fix: run a switch for appearance keys, or warn clearly.
- **summer-day workspace scroll misaligned:** `themes/summer-day/waybar.jsonc`
uses `workspace e+1/e-1` (next empty) vs every other bar's `r±1` (relative)
— align to `r±1`.
V2: theme-shot session render (and/or a `checks.doctor` extension for the
indicator).
### 51. Waybar/menu behaviour bugs — V2 render pending
Fixes shipped V1 (2026-07-09): doctor indicator emits `󰒡` + `class:bad`
when unhealthy (was empty text → self-hidden); CC appearance toggles print
"(requires rebuild)"; summer-day scroll `e±1``r±1`. **Remaining V2:** a
theme-shot render with an induced doctor failure to see the glyph (fold into
#44's `checks.doctor` extension); CC message + scroll are behavioural (V1
+ self-evident).
### 52. Theme fidelity bugs — Broken/high-ROI (promoted 2026-07-09, V0+V2)
Execute the six clear per-theme defects — **exact hexes in the

View File

@@ -17,6 +17,16 @@ Template:
---
## 2026-07-09 — #51 Waybar/menu behaviour bugs (delegated, worktree)
- **Task:** NEXT #51. Sonnet worktree agent (parallel with #52/#54, no shared
files).
- **Did:** doctor indicator `"text":""``"text":"󰒡"` + `class:bad` on failure
(`waybar.nix`); CC appearance toggles print "(requires rebuild)" like the
other CC toggles; summer-day scroll `e±1``r±1`. Reviewed diff, cherry-picked.
- **Verified:** V0 flake check + V1 (HM gen + `nomarchy-control-center` build)
on main. V2 render (glyph on an unhealthy bar) folded into #44's checks.doctor.
- **Next:** land #52/#54; batched V2.
## 2026-07-09 — Promote V2-capable PROPOSED items → NEXT #5154 (Bernardo-directed)
- **Task:** with the VM free (post-#46), Bernardo asked to bump the
V2-requiring PROPOSED items too. His triage; I did the move.