|
|
.TH DMENU 1 dmenu\-VERSION.SH NAMEdmenu \- dynamic menu.SH SYNOPSIS.B dmenu.RB [ \-bfivP ].RB [ \-l.IR lines ].RB [ \-m.IR monitor ].RB [ \-p.IR prompt ].RB [ \-fn.IR font ].RB [ \-nb.IR color ].RB [ \-nf.IR color ].RB [ \-sb.IR color ].RB [ \-sf.IR color ].RB [ \-w.IR windowid ].P.BR dmenu_run " ...".SH DESCRIPTION.B dmenuis a dynamic menu for X, which reads a list of newline\-separated items fromstdin. When the user selects an item and presses Return, their choice is printedto stdout and dmenu terminates. Entering text will narrow the items to thosematching the tokens in the input..P.B dmenu_runis a script used by.IR dwm (1)which lists programs in the user's $PATH and runs the result in their $SHELL..SH OPTIONS.TP.B \-bdmenu appears at the bottom of the screen..TP.B \-cdmenu appears centered on the screen..TP.B \-fdmenu grabs the keyboard before reading stdin if not reading from a tty. Thisis faster, but will lock up X until stdin reaches end\-of\-file..TP.B \-idmenu matches menu items case insensitively..TP.B \-Pdmenu will not directly display the keyboard input, but instead replace it with dots. All data from stdin will be ignored..TP.BI \-l " lines"dmenu lists items vertically, with the given number of lines..TP.BI \-m " monitor"dmenu is displayed on the monitor number supplied. Monitor numbers are startingfrom 0..TP.BI \-p " prompt"defines the prompt to be displayed to the left of the input field..TP.BI \-fn " font"defines the font or font set used..TP.BI \-nb " color"defines the normal background color..IR #RGB ,.IR #RRGGBB ,and X color names are supported..TP.BI \-nf " color"defines the normal foreground color..TP.BI \-sb " color"defines the selected background color..TP.BI \-sf " color"defines the selected foreground color..TP.B \-vprints version information to stdout, then exits..TP.BI \-w " windowid"embed into windowid..SH USAGEdmenu is completely controlled by the keyboard. Items are selected using thearrow keys, page up, page down, home, and end..TP.B TabCopy the selected item to the input field..TP.B ReturnConfirm selection. Prints the selected item to stdout and exits, returningsuccess..TP.B Ctrl-ReturnConfirm selection. Prints the selected item to stdout and continues..TP.B Shift\-ReturnConfirm input. Prints the input text to stdout and exits, returning success..TP.B EscapeExit without selecting an item, returning failure..TP.B Ctrl-LeftMove cursor to the start of the current word.TP.B Ctrl-RightMove cursor to the end of the current word.TP.B C\-aHome.TP.B C\-bLeft.TP.B C\-cEscape.TP.B C\-dDelete.TP.B C\-eEnd.TP.B C\-fRight.TP.B C\-gEscape.TP.B C\-hBackspace.TP.B C\-iTab.TP.B C\-jReturn.TP.B C\-JShift-Return.TP.B C\-kDelete line right.TP.B C\-mReturn.TP.B C\-MShift-Return.TP.B C\-nDown.TP.B C\-pUp.TP.B C\-uDelete line left.TP.B C\-wDelete word left.TP.B C\-yPaste from primary X selection.TP.B C\-YPaste from X clipboard.TP.B M\-bMove cursor to the start of the current word.TP.B M\-fMove cursor to the end of the current word.TP.B M\-gHome.TP.B M\-GEnd.TP.B M\-hUp.TP.B M\-jPage down.TP.B M\-kPage up.TP.B M\-lDown.SH SEE ALSO.IR dwm (1),.IR stest (1)
|