phillbush / xmenu

a x11 menu utility
Other
296 stars 26 forks source link

Create search item #36

Closed SingularisArt closed 1 year ago

SingularisArt commented 1 year ago

Just like we have any linux menu, they have a search menu. How can I add this to xmenu? This is what I've currently got. fff

Here's what I would like to have. When I hover over the Search item on the xmenu selection list, I would like to be able to type, and it'll autofill, like the following. fff Then, it'll start to filter out all the items. How can I achieve this?

phillbush commented 1 year ago

Hi, xmenu does not have such text input field feature, nor it can search for items down the menu hierarchy.
Drawing text fields is a complex task, especially when handling input methods and composed strings, that I prefer to be handled by a separate application.
You can use, however, dmenu for searching for items.
You can make your workflow use xmenu for a mouse-based selection of items and dmenu for a keyboard-driven selection of items.

If you want to include such feature by yourself, you can fork xmenu and use dmenu's code to add its feature into xmenu.