Initial Text - bakkeby/dmenu GitHub Wiki

The initial text feature is only available as a command line argument and it allows for dmenu to start with some text having already been typed in for filtering purposes.

As an example we will compare the following dmenu commands, the first of which just passes the list of files in the current directory to dmenu.

$ ls | dmenu

initialtext1.jpg

Then the same command is run but passing the -it command line option to set the initial text as "con":

$ ls | dmenu -it "con"

initialtext2.jpg

The above shows that dmenu starts with "con" having already been typed in and the list of options have been filtered based on that.

This feature originates from the initialtext patch for dmenu.

Back to Features.

⚠️ **GitHub.com Fallback** ⚠️