-
-
Notifications
You must be signed in to change notification settings - Fork 112
feat: add deeplink support for opening shortcuts by name #649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: add deeplink support for opening shortcuts by name #649
Conversation
|
while this works, I'm not sure implementing this as a command is the best way to do it, as a shortcut is not really an extension properly speaking. vicinae/vicinae/src/ipc-command-handler.cpp Line 170 in de12226
|
|
and then something like that: |
Add case-insensitive name lookup for shortcuts to enable deeplink functionality
Implement vicinae://shortcuts/<name_or_id> URL handler that allows opening shortcuts via deeplinks. Supports both name (case-insensitive) and ID lookup, opening the window with the shortcut pre-selected in the search
e3fda9e to
ec8bb72
Compare
|
Thanks for the suggestion, that makes more sense. I rewrote the commits and implemented it your way. Now you can do:
|
|
Only thing I kept is the name instead of the ID, because the user knows the name, but not the ID that vicinae assigned to that shortcut. |
|
Are names unique? Can 2 shortcuts have the same name? |
|
@rithvikvibhu they aren't. @carmilso we need to use the ID here as well, this is not an issue. Like we do for extensions, we can add a 'copy deeplink' action to make it easier to get the full deeplink |
4b8065c to
c26ad02
Compare
This enables better integration with external applications and automated workflows by providing a user-friendly way to open shortcuts programmatically.
Example of usage for Hyprland: