TUI-ConsoleLauncher icon indicating copy to clipboard operation
TUI-ConsoleLauncher copied to clipboard

Prioritize apps and aliases equally in quick launch lost

Open JadElClemens opened this issue 5 years ago • 2 comments

Title correction: quick launch list*

It seems like aliases are always listed at the very end of the suggestions in the quick launch list. Even when I type the full alias text, T-UI still tries to fit the text to apps before it lists any aliases (for example, I have 'tungle' pointing at 'Tumblr', but typing 'tungle' in the input field suggests a whole bunch of apps with a seemingly far string distance, then Tumblr at the very end before it lists my alias). Even when no apps are even near the command I'm entering, suggested apps will show before any aliases will.

I have to assume that each group/type of command is processed separately, and this is why aliases are sequestered to the end of the list. Still, T-UI commands and apps seem to intermingle as they should.

JadElClemens avatar Apr 13 '19 09:04 JadElClemens

suggestions_order could help. you can look with config -info suggestions_order also config -info noinput_suggestions_order

but I honestly don't know what this does exactly: noinput_min_command_priority could someone shed some light on this?

ghost avatar Sep 13 '19 21:09 ghost

Suggestions_order doesn't help intertwine the results, there isn't functionality for the currently that I can see. However, you can change the order to show aliases first with config -set suggestion_order 1(5)2(2)0(5)3(3) which will keep the normal order, but raise aliases to be suggested first (note I haven't tested though).

As for noinput_min_command_priority: For a command to be shown as suggested, it has to have a certain priority, which will depend on the algorithm used (see here). noinput_min_command_priority is the minimum priority necessary for a command to be shown as a suggestion in the specific case that there is no input text.

headlessgargoyle avatar Dec 26 '19 19:12 headlessgargoyle