fix(waybar,menu): #51 doctor indicator glyph + CC rebuild hints + scroll
Some checks failed
Check / eval (push) Has been cancelled
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:
@@ -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
|
||||
|
||||
@@ -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 #51–54 (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.
|
||||
|
||||
@@ -120,7 +120,7 @@ let
|
||||
out=$(nomarchy-doctor 2>/dev/null) && exit 0
|
||||
tip=$(printf '%s\n' "$out" | grep '✖' | head -5 \
|
||||
| ${pkgs.jq}/bin/jq -Rs 'rtrimstr("\n") + "\n(click for the full sheet)"')
|
||||
printf '{"text":"","tooltip":%s,"class":"bad"}\n' "$tip"
|
||||
printf '{"text":"","tooltip":%s,"class":"bad"}\n' "$tip"
|
||||
'';
|
||||
|
||||
# Per-theme override probe.
|
||||
|
||||
@@ -110,11 +110,15 @@ function appearance_menu() {
|
||||
else
|
||||
set_state "ui.blur" "true"
|
||||
fi
|
||||
echo "Blur setting saved (requires rebuild)."
|
||||
sleep 1
|
||||
;;
|
||||
"Set Gaps")
|
||||
gaps=$(gum input --prompt "Enter gaps in pixels: " --placeholder "$(get_state ui.gapsOut)")
|
||||
if [ -n "$gaps" ]; then
|
||||
set_state "ui.gapsOut" "$gaps"
|
||||
echo "Gaps set to $gaps (requires rebuild)."
|
||||
sleep 1
|
||||
fi
|
||||
;;
|
||||
"Back"|*) break ;;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r-1"
|
||||
},
|
||||
|
||||
"custom/launcher": {
|
||||
|
||||
Reference in New Issue
Block a user