diff --git a/agent/BACKLOG.md b/agent/BACKLOG.md index a749abe..991720c 100644 --- a/agent/BACKLOG.md +++ b/agent/BACKLOG.md @@ -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 diff --git a/agent/JOURNAL.md b/agent/JOURNAL.md index 338eac9..a198ead 100644 --- a/agent/JOURNAL.md +++ b/agent/JOURNAL.md @@ -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. diff --git a/modules/home/waybar.nix b/modules/home/waybar.nix index 3d8efb2..bbd68ef 100644 --- a/modules/home/waybar.nix +++ b/modules/home/waybar.nix @@ -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. diff --git a/pkgs/nomarchy-control-center/nomarchy-control-center.sh b/pkgs/nomarchy-control-center/nomarchy-control-center.sh index a3e3c5f..2b0421e 100644 --- a/pkgs/nomarchy-control-center/nomarchy-control-center.sh +++ b/pkgs/nomarchy-control-center/nomarchy-control-center.sh @@ -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 ;; diff --git a/themes/summer-day/waybar.jsonc b/themes/summer-day/waybar.jsonc index 241414b..2b5fee6 100644 --- a/themes/summer-day/waybar.jsonc +++ b/themes/summer-day/waybar.jsonc @@ -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": {