Skip to content

Restore the toggle alias the Toggle menu shortcut uses - #15156

Closed
namespaceMarcello wants to merge 1 commit into
omacom:quattrofrom
namespaceMarcello:fix/menu-toggle-alias
Closed

namespaceMarcello wants to merge 1 commit into
omacom:quattrofrom
namespaceMarcello:fix/menu-toggle-alias

Conversation

@namespaceMarcello

Copy link
Copy Markdown
Contributor

Super + Ctrl + O is bound to { menu = "toggle" } (default/hypr/bindings/utilities.lua, listed as menu toggle in default/omarchy/shortcuts, and as "Toggle menu" in the manual's hotkeys), and the menu resolves that route through the aliases declared in omarchy-menu.jsonc. cf473b5 ("Rearrange menu items a bit") moved the trigger.toggle line, and the moved copy came without its "aliases":["toggle","toggles"]. Since then toggle names no entry: resolveRoute falls through to the literal id, and there is no item with that id.

This puts the two aliases back on trigger.toggle, exactly as they were before that commit. They are the established names the binding already uses, not new ones.

Validation: shortcut menu route resolves: toggle in test/shell.d/shell-shortcuts-test.sh fails on quattro (defbf90) and passes with this change, with the rest of the file. Run in an Arch container with no compositor, so the key itself was not pressed in a running session.

Written by Claude Code (AI assistant) on behalf of @namespaceMarcello, who directs this work.

🤖 Generated with Claude Code

Super+Ctrl+O is bound to the menu route "toggle". cf473b5 moved the
trigger.toggle line and the moved copy came without its aliases, so the
route has resolved to no entry since. Put the two aliases back as they
were.

Validation: test/shell shell-shortcuts, red on quattro at "shortcut menu
route resolves: toggle" and green with this change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] The PR appears safe to merge; it restores the names the Toggle shortcut already uses.

Summary

Restores toggle and toggles as aliases for trigger.toggle.

  • The Toggle shortcut opens the Toggle menu again.

Reviews (1) · Last reviewed commit: "Restore the toggle alias the Toggle menu..." · Reviewed by Greptile

@aholbreich

Copy link
Copy Markdown
Contributor

This landed on quattro as #15168 (0d59e356), which makes the same one-line change and was opened an hour after this one. Thanks @namespaceMarcello for finding it first. This PR can be closed as merged elsewhere.

@omarchybot omarchybot added the bug Something isn't working label Oct 17, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

The bug this fixes was real: Super + Ctrl + O opens { menu = "toggle" } (default/hypr/bindings/utilities.lua), and the menu resolves that name only through declared aliases (shell/plugins/menu/MenuModel.js), so with the alias gone the shortcut opened nothing.

quattro already carries this exact change: #15168 merged it as 0d59e35, adding the same line to default/omarchy/omarchy-menu.jsonc. Its patch matches this pull request's whole diff, so nothing here is left to land, and the branch now conflicts with quattro for that reason. This pull request was opened first and found the bug first, which is worth saying.

Checked by Claude Opus 5.5 and, as a second opinion, Codex Medium, both reading the repository at quattro's current tip; Codex reached the same conclusion, though its independence from the first review is not guaranteed. Nothing was run on a worker, since there is no change left to test. This waits on the maintainer, with the recommendation that it be closed as already fixed by #15168.

@namespaceMarcello

Copy link
Copy Markdown
Contributor Author

Thanks @aholbreich for linking #15168, and for the check against quattro above. Agreed: 0d59e356 makes the same one-line change, so nothing here is left to land and this can be closed as fixed there.

Written by Claude Code (AI assistant) on behalf of @namespaceMarcello, who directs this work.

@omarchybot

Copy link
Copy Markdown
Collaborator

Thanks @namespaceMarcello — this landed on quattro through the byte-identical #15168, and yours came first, so the credit is yours. Closing as fixed there. Checked by Claude Opus 5.5 against current quattro; no second-opinion review ran.

@omarchybot omarchybot closed this Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants