Skip to content

Add custom activation hotkey#4

Merged
yhao3 merged 1 commit intomainfrom
feature/custom-activation-hotkey
Jan 9, 2026
Merged

Add custom activation hotkey#4
yhao3 merged 1 commit intomainfrom
feature/custom-activation-hotkey

Conversation

@yhao3
Copy link
Copy Markdown
Owner

@yhao3 yhao3 commented Jan 9, 2026

Summary

  • Allow users to customize the activation hotkey
  • Support modifier keys (Cmd, Ctrl, Option, Shift) with letter keys
  • Add hotkey recorder in Settings UI

Changes

  • Add HotKey struct with modifiers and key code
  • Add activationHotKey preference with JSON serialization
  • Update EventTapManager to use custom hotkey
  • Add hotkey recorder component in Settings

Allow users to customize the activation hotkey from Settings.
Click the hotkey badge to enter recording mode, then press a new key
combination (requires at least one modifier). Press Escape to cancel.

- Add hotkey storage in Preferences (keyCode + modifiers)
- Add bypass mode to EventTapManager during recording
- Add HotkeyRecorderView with NSEvent local monitor
@yhao3 yhao3 merged commit 87659f4 into main Jan 9, 2026
3 checks passed
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.

1 participant