Zren / plasma-hud

Provides a way to run menubar commands in KDE Plasma through rofi, much like the Unity 7 Heads-Up Display (HUD).
GNU General Public License v2.0
233 stars 9 forks source link

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

Open ripefig opened 5 years ago

ripefig commented 5 years ago

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.

Zren commented 5 years ago

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

[General]
Matching=normal
Zren commented 5 years ago

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".

ripefig commented 5 years ago

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.