Skip to content

Restore the toggle menu alias that Super+Ctrl+O opens - #15168

Merged
dhh merged 1 commit into
quattrofrom
fix-shortcut-toggle-alias
Oct 13, 2026
Merged

dhh merged 1 commit into
quattrofrom
fix-shortcut-toggle-alias

Conversation

@dhh

@dhh dhh commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

What changed

trigger.toggle in default/omarchy/omarchy-menu.jsonc gets back its "aliases":["toggle","toggles"].

Why

cf473b5 ("Rearrange menu items a bit") rewrote the trigger.toggle line and dropped its aliases. It was the only alias lost in that commit (20 alias lists before, 19 after). Several things still use the short name:

  • default/omarchy/shortcuts registers menu toggle as a shell global shortcut.
  • default/hypr/bindings/utilities.lua binds SUPER + CTRL + O to { menu = "toggle" }.

Without the alias, resolveRoute hands back the raw toggle, which isn't a menu item, so Super+Ctrl+O stopped opening the Toggle menu. test/shell.d/shell-shortcuts-test.sh caught this: shortcut menu route resolves: toggle. The code was wrong, not the test. AGENTS.md keeps aliases for established names users already type, and this is one of those, so restoring it fits the rule against adding new ones.

Testing

  • test/shell.d/shell-shortcuts-test.sh and test/shell.d/menu-test.sh pass.
  • Before the change, shell-shortcuts-test.sh fails with shortcut menu route resolves: toggle.

Human check

Press Super+Ctrl+O on the running desktop and check that the Toggle menu opens. I didn't drive the live desktop for this one.

🤖 Generated with Claude Code

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] This PR appears safe to merge.

Summary

Restores toggle and toggles as aliases for trigger.toggle.

  • The Toggle menu opens again through its short route names.

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

@dhh
dhh merged commit 0d59e35 into quattro Oct 13, 2026
1 check passed
dhh added a commit that referenced this pull request Oct 14, 2026
Dropping the toggle/toggles aliases from trigger.toggle silently broke
Super+Ctrl+O (#15168) because nothing asserted them. Pin the alias list
and both spellings' route resolution on the real default menu.
dhh added a commit that referenced this pull request Oct 14, 2026
Dropping the toggle/toggles aliases from trigger.toggle silently broke
Super+Ctrl+O (#15168) because nothing asserted them. Pin the alias list
and both spellings' route resolution on the real default menu.
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants