fix(keybinds): SUPER+? bind uses base keysym slash, not question
All checks were successful
Check / eval (push) Successful in 3m10s

Item 32. Item 26 added SHIFT to the modmask but kept the shifted keysym
`question`, so the bind stayed dead. Hyprland 0.55 resolves a bind's
keysym with SHIFT consumed (issue #7750, behaviour since 0.43): with
Shift held, `$mod SHIFT, question` is matched against `slash` and never
fires. The base keysym is what works — same pattern as this file's own
`$mod SHIFT, 1` workspace binds. Also updates rofi.nix prettyKeys to
collapse "SHIFT + /" → "?" so the cheatsheet row still reads "SUPER + ?".

Verified: V0 `nix flake check --no-build` green; V1 HM activation built,
built hyprland.conf carries `bind=$mod SHIFT, slash, exec, nomarchy-menu
keybinds` (kb_layout=us → slash is `?`). The keypress opening the menu is
V3 — queued (HARDWARE-QUEUE, existing SUPER+? entry updated).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-07-08 13:59:02 +01:00
parent 60c6f14c08
commit b1cf10ff06
5 changed files with 40 additions and 20 deletions

View File

@@ -17,6 +17,28 @@ Template:
---
## 2026-07-08 — SUPER+? cheatsheet re-fixed: base keysym (iteration #65, item 32)
- **Task:** BACKLOG item 32 — SUPER+? still didn't open the cheatsheet
after item 26's fix. Re-diagnose.
- **Did:** Root cause = wrong keysym, not path/rofi. Hyprland 0.55 resolves
a bind's keysym with SHIFT *consumed* (issue #7750, since 0.43), so
`$mod SHIFT, question` looks for `slash` and never matches. Item 26 fixed
the modmask but kept the shifted keysym → still dead. Changed keybinds.nix
`question``slash` (the BASE keysym, exactly like the working
`$mod SHIFT, 1` workspace binds in this same file); updated rofi.nix
prettyKeys collapse `SHIFT + /``?` so the cheatsheet still reads
"SUPER + ?". Dispatch (`nomarchy-menu keybinds`) confirmed already fine.
- **Verified:** V0 `nix flake check --no-build` green. V1: HM activation
built; grepped the built hyprland.conf → `bind=$mod SHIFT, slash, exec,
nomarchy-menu keybinds` (beside the proven `$mod SHIFT, 1`), `kb_layout=us`
confirms slash→? ; `nix eval` of prettyKeys → "SUPER + ?".
- **Pending:** V3 — the keypress actually opening the menu is invisible
below hardware (that's how item 26 slipped); the existing HARDWARE-QUEUE
"SUPER+? opens the cheatsheet" entry updated to the slash fix.
- **Next suggestion:** Bernardo's two live requests — (1) fold the provided
power-menu mockup into item 36(b) [design now in hand]; (2) right-align a
keybind hint on every menu/submenu row that has one.
## 2026-07-07 — Battery-limit toggle in rofi System (iteration #64, item 36a)
- **Task:** BACKLOG item 36(a) — Bernardo wanted the charge-threshold
toggle as a first-class row in `nomarchy-menu System`, not buried in