Add the ability to assign hotkeys to individual Spotlight Actions #1664
dipique
started this conversation in
Feature requests
Replies: 1 comment 1 reply
-
|
You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Because spotlight is already registering actions and hotkeys, it would be very helpful if hotkeys could also be registered to trigger specific actions. This would currently be accomplished by manually registering hotkeys in your app and then triggering spotlight actions.
Unsolicited implementation ideas
interface SpotlightActioncould have the following added:The shortcut parsing could follow the same rules as the
shortcutprop forSpotlightProvider. Based on some cursory investigation, the existinguseHotkeyshook looks completely suitable for this use.I am thinking that perhaps the hotkey could be registered inside prepareAction, but my understanding of hooks is very weak.
Beta Was this translation helpful? Give feedback.
All reactions