fix(rofi): normal sorter for fuzzy search + power-profile icons
All checks were successful
Check / eval (push) Successful in 3m8s
All checks were successful
Check / eval (push) Successful in 3m8s
Two rofi fixes:
- Search (item 31): rofi 2.0.0's fzf sorter mis-ranks fuzzy matches —
typing "steam" left ghostty selected instead of Steam. Bernardo's live
A/B confirmed `-sorting-method normal` and `-matching normal` both fix
it while `-no-sort` does not. Switch sorting-method fzf → normal, keep
matching=fuzzy + case-sensitive=false.
- Power profile menu (item 39): list profiles with per-profile icons from
Papirus' colored battery-profile-{performance,balanced,powersave} family
(the -symbolic variants are #444 grey, invisible on dark). Row text
stays the bare profile name so `powerprofilesctl set` is unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,25 @@ Template:
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-07 — rofi search mis-ranks + power-profile icons (iteration #58, items 31 & 39)
|
||||
- **#31 (rofi search broken):** Bernardo ran the live A/B — `-sorting-method
|
||||
normal` and `-matching normal` both fixed "steam"→Steam; `-no-sort` did
|
||||
not. So the culprit is rofi 2.0.0's **fzf sorter** paired with fuzzy
|
||||
matching (it ranked ghostty above Steam), not case-sensitivity. Fix:
|
||||
`programs.rofi.extraConfig.sorting-method` `"fzf"` → `"normal"`, keeping
|
||||
`matching="fuzzy"` (forgiveness) + `case-sensitive=false`. Also closes
|
||||
Bernardo's batch item 1 (case-insensitive — already false, now ranks
|
||||
right too).
|
||||
- **#39 (power-profile icons):** the picker listed profiles as bare text.
|
||||
Now emits `row "$p" battery-profile-<p>` using Papirus' **colored**
|
||||
`battery-profile-{performance,balanced,powersave}` family (the
|
||||
`-symbolic` variants are #444 grey → invisible on dark themes; verified
|
||||
the colored ones carry real fills). Returned row text stays the bare
|
||||
profile name, so `powerprofilesctl set` is unaffected; added `-show-icons`.
|
||||
- **Verified:** V0 `nix flake check --no-build` green for both. #31's fix
|
||||
is the exact lever Bernardo confirmed live. #39's icon *rendering* is a
|
||||
V3 visual check (Papirus lookup can't be eyeballed headlessly) — queued.
|
||||
|
||||
## 2026-07-07 — Display menu "Back" doesn't return (iteration #57, item 40)
|
||||
- **Task:** BACKLOG item 40 — in System › Display the Back row didn't
|
||||
return on a single-monitor machine.
|
||||
|
||||
Reference in New Issue
Block a user