fix(rofi): drop the go-previous icon from menu Back rows
Some checks failed
Check / eval (push) Has been cancelled

Every submenu's "↩ Back" row rendered two arrows: the ↩ glyph in the
label plus a themed go-previous icon. back() now emits the plain label
only — identical to what pick-lists already append — so Back shows a
single glyph everywhere. BACK="↩ Back" stays the universal label/match,
so no case-branch comparison changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-07 21:42:56 +01:00
parent 28cbaf6f5e
commit 6c61b51d55
3 changed files with 21 additions and 11 deletions

View File

@@ -17,6 +17,20 @@ Template:
---
## 2026-07-07 — Menu "Back" double arrows (iteration #56, item 34)
- **Task:** BACKLOG item 34 — every submenu's `↩ Back` row drew two
arrows: the `↩` glyph in the label AND a themed `go-previous` icon.
- **Fix:** `back()` in `modules/home/rofi.nix` was `row "$BACK"
go-previous` (label + icon). Changed to `printf '%s\n' "$BACK"` — now
identical to what the plain pick-lists already append, so every Back row
shows a single `` glyph. Kept `BACK="↩ Back"` as the universal
label/match, so no case-branch comparison changed (no risk of a Back
that fails to return — the item-40 failure mode). Collision-exact match
preserved by the glyph.
- **Verified:** V0 `nix flake check --no-build` green (evaluates
homeConfigurations). Single-arrow result is deterministic from the code;
visual confirmation on hardware is nice-to-have, not load-bearing.
## 2026-07-07 — Battery charge-limit quick toggle (iteration #55)
- **Task:** BACKLOG PROPOSED (promoted by Bernardo) — a toggle for the
battery charge threshold.