noctalia-shell icon indicating copy to clipboard operation
noctalia-shell copied to clipboard

Custom launcher command aliases

Open tokebe opened this issue 8 months ago • 7 comments

Feature Description

I would like to set custom aliases for different features of the launcher, for instance, if I type c and then a space, it would activate the clipboard search, instead of having to type the full caret+command name.

Why Is This Needed?

The launcher has many useful commands, even moreso with addons, but having to type the full command name can be slow, and I don't want to use up keyboard shortcuts for individual commands.

Suggested Solutions

A new tab on the launcher settings that lists available commands, and allows entering a custom text alias. This alias, when typed at the beginning of the search string in the launcher, would activate the aliased command as if the user had input the normal caret+command name.

Additional Context

I'm currently using Vicinae, which allows for this, but I like Noctalia's launcher style more except for this missing feature.

tokebe avatar Mar 13 '26 04:03 tokebe

take a look 👀 https://noctalia.dev/plugins/custom-commands/

not sure is that you want

Cleboost avatar Mar 16 '26 00:03 Cleboost

This is a really cool plugin! I'd definitely use it if I switch to daily driving Noctalia's launcher. But, not quite what I mean.

The point is to be able to give minimal input in order to use a feature of the launcher. Say I want to search my clipboard:

Right now I have to type:

>clip some_search_string

I'd like to be able to define an alias c to be equivalent to >clip so that I can just type:

c some_search_string

tokebe avatar Mar 16 '26 15:03 tokebe

I have any idea how to implement it properly in the UI, do you have suggestions?

Cleboost avatar Mar 23 '26 17:03 Cleboost

I would imagine a new tab in the launcher settings UI (probably named "Command Aliases"?), where each available command would be listed with its title, default method of invoking, and then a text input that would be used to set the alias. Sort of in a table format like this (probably without headings):

Command Name Command Alias
Clipboard History Command: >clip Alias: c

Presumably, the alias text input would set a mapping in the settings file, which the launcher would use in command detection. I don't know a lot about the inner workings of Noctalia, so I don't know how hard it would be to have the launcher utilize these variables 🤷‍♀️

tokebe avatar Mar 23 '26 17:03 tokebe

https://github.com/user-attachments/assets/44dd06bd-dc8d-4c11-bd4a-0189f3b7555e

Cleboost avatar Mar 24 '26 18:03 Cleboost

This looks awesome, thanks! :D

tokebe avatar Mar 25 '26 18:03 tokebe

Thanks so much for reaching out and sharing this with us!

Right now, our team is entirely focused on building v5. Since the v4 lifecycle has officially come to an end, we are wrapping up old issues and won’t be shipping any further updates or fixes to that codebase.

We are closing this issue for now, but we truly appreciate you taking the time to report it. We aren’t quite ready to open up the v5 tracker for public bug reports or feature requests just yet, but we’ll definitely keep your feedback in mind as we develop the new version!

Cheers!

Ly-sec avatar May 16 '26 22:05 Ly-sec