dmenu
dynamic menu for X11
TLDR
Display menu from ls output
$ ls | dmenu
Display menu with custom items$ echo -e "[red]\n[green]\n[blue]" | dmenu
Save selected item to file$ echo -e "[red]\n[green]\n[blue]" | dmenu > [color.txt]
Launch on specific monitor$ ls | dmenu -m [1]
Display at bottom of screen$ ls | dmenu -b
SYNOPSIS
dmenu [options]
DESCRIPTION
dmenu is a dynamic menu for X11. It reads items from stdin, displays them in a horizontal menu, and outputs the selected item to stdout.
Commonly used as an application launcher, file picker, or general selection interface in tiling window managers.
PARAMETERS
-b
Display at bottom of screen-m monitor
Display on specified monitor-l lines
Vertical list with n lines-p prompt
Display prompt text-fn font
Font or font pattern-nb color
Normal background color-nf color
Normal foreground color-sb color
Selected background color-sf color
Selected foreground color
CAVEATS
X11 only (see bemenu for Wayland). Items must be newline-separated. Part of suckless tools. Highly customizable through patches.
