This repository was archived by the owner on Oct 17, 2026. It is now read-only.
Repository navigation
feat(settings): preview the panel and warn about shortcut clashes - #11
Merged
Merged
Conversation
Changing the theme or size in Settings meant closing Settings to see the result. Worse, recording a shortcut that Alfred or Spotlight already holds failed silently: RegisterEventHotKey accepted ⌘Space while Alfred held it, so only one app opened and nothing said why. Settings now shows the real panel as a preview, and reads Spotlight's and Alfred's shortcuts to name a clash and where to fix it.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
RegisterEventHotKey(⌘Space)returnednoErranyway. Both apps register, only one opens, and Common Command's "Another app already uses this shortcut" message never appears.Approach
PanelContent,FieldView,CardView) on a secondSearchModelsearching "s", scaled to fit by giving the view smaller bounds than frame. It follows theme, size, translucency, and visible rows live, and takes no input.Conflicts(CommandKit, tested) reads Spotlight's shortcuts fromcom.apple.symbolichotkeys(ids 64 and 65, enabled only) and Alfred's from the hotkey plist that~/Library/Application Support/Alfred/prefs.jsonpoints to (so a synced preferences folder is followed). Settings shows an orange warning naming the other app and where to change it; the menu bar menu shows "⌘Space also opens Alfred". When ⌘Space belongs to someone else, Settings says who, instead of the old generic Spotlight tip.--snapshot … --settingsrenders the Settings window offscreen for review.Look at sceptically
Checklist
scripts/task checkpasses locally