commands.sh

dmenu

linux

Dynamic menu. Create a menu from a text input with each item on a new line.

More info →

Examples (5)

Display a menu of the output of the `ls` command

Display a menu with custom items separated by a new line (`\n`)

echo -e "red\ngreen\nblue" | dmenu

Let the user choose between multiple items and save the selected one to a file

echo -e "red\ngreen\nblue" | dmenu > color.txt

Launch dmenu on a specific monitor

ls | dmenu -m 1

Display dmenu at the bottom of the screen

ls | dmenu -b
made by @shridhargupta | data from tldr-pages