Zren / plasma-hud

Provides a way to run menubar commands in KDE Plasma through rofi, much like the Unity 7 Heads-Up Display (HUD).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuzzy matching matching sort by relevance - not by position in the menu

ripefig opened this issue · comments

image

If you type CSS, you have to scroll down about frames before you hit an actual "CSS" string. The way the results are ordered makes fuzzy matching useless.

You can switch to "normal" sorting if you manally create ~/.config/plasmahudrc and add

[General]
Matching=normal

It seems that rofi doesn't prioritize the "closeness" between "c" "s" and "s" like other fuzzy matching algorithms, so it's not really useful. I'll probably reverse the default sort to "normal".

the issue isn't closeness - it's the order of the results. They aren't ordered by closeness, but by the order in which they appear in the menubar. I don't know if it's a rofi issue.

normal works though. thanks.