Repository navigation
Make the Ctrl+Option+Left/Right Space-switch hotkeys toggleable - #4
Merged
Merged
Conversation
Those hotkeys are registered system-wide via Carbon's RegisterEventHotKey, which can silently override a third-party window-tiling shortcut bound to the same chord (e.g. "snap window right" tools commonly use Ctrl+Option+Arrow too). This is a separate mechanism from the gesture tap, so it can be disabled independently without touching Accessibility or the swipe speedup itself. Adds a persisted `spaceHotkeysEnabled` setting (default true, so existing behavior is unchanged), a "Space-switch hotkeys" menu-bar checkbox, and a `strafe hotkeys [on|off]` CLI command, following the same conventions as the existing `TransitionSpeed` setting. Updates SECURITY.md's persistence section to describe both stored keys. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a default-on Space-switch hotkey setting so users can release Ctrl+Option+Left/Right for another app while keeping accelerated trackpad swipes. The menu and
strafe hotkeys [on|off]use the same preference.CLI changes now notify running copies to reload the saved setting without restarting. Repeated updates retain the Carbon registration handles so turning shortcuts off reliably unregisters them. The notification carries no payload and introduces no network access or additional permissions.
Maroun's original commit and authorship are preserved. Integration keeps the menu-bar hiding and macOS 27 Mission Control fixes already on main.
Validation: strict Swift build, all four Swift boundary/overlay tests, C payload/overlay tests, isolated hotkey lifecycle and cross-process notification tests, release bundling, and signature verification passed locally. CI includes the new hotkey tests. The scoped security review is recorded in docs/reviews/2026-09-17-contributions.md.