nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
197 stars 22 forks source link

highpriority patch from suckless dmenu [feature request] #22

Closed akawama-zz closed 2 years ago

akawama-zz commented 3 years ago

Hello,

I think something like this patch would be really helpful. Would you please consider adding something like this?

highpriority "This patch will automatically sort the search result so that high priority items are shown first."

nyyManni commented 3 years ago

In my opinion this should be implemented as a separate utility that goes in between dmenu-wl_path and dmenu-wl.

That loses the ability to highlight the highprio items, but gains more flexibility in sorting or filtering the items based on some criteria. It would also be directly compatible with dmenu for X and possibly other similar tools.

bogdan-the-great commented 7 months ago

Hi! I made a dmenu-history shell script which saves the chosen programs to a file in cache and shows them before others (including while searching for something).

It looks like this: image

Link to gist for x11 dmenu Link to my dmenu-wl.sh in my wayland dotfiles

Hope it helps.