1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
|
WMENU(1)
# NAME
wmenu - dynamic menu for Wayland
# SYNOPSIS
*wmenu* [-biPv] \
[-f _font_] \
[-l _lines_] \
[-o _output_] \
[-p _prompt_] \
[-N _color_] [-n _color_] \
[-M _color_] [-m _color_] \
[-S _color_] [-s _color_]
*wmenu-run* ...
# DESCRIPTION
*wmenu* is a dynamic menu for Wayland, which reads a list of newline-separated
items from stdin. When the user selects an item and presses Return, their choice
is printed to stdout and wmenu terminates. Entering text will narrow the items
to those matching the tokens in the input.
*wmenu-run* is a special invocation of wmenu which lists programs in the user's
$PATH and runs the result.
# OPTIONS
*-b*
wmenu appears at the bottom of the screen.
*-i*
wmenu matches menu items case insensitively.
*-P*
wmenu will not directly display the keyboard input, but instead replace it
with asterisks.
*-v*
prints version information to stdout, then exits.
*-f* _font_
defines the font used. For more information, see
https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
*-l* _lines_
wmenu lists items vertically, with the given number of lines.
*-o* _output_
wmenu is displayed on the output with the given name.
*-p* _prompt_
defines the prompt to be displayed to the left of the input field.
*-N* _RRGGBB[AA]_
defines the normal background color.
*-n* _RRGGBB[AA]_
defines the normal foreground color.
*-M* _RRGGBB[AA]_
defines the prompt background color.
*-m* _RRGGBB[AA]_
defines the prompt foreground color.
*-S* _RRGGBB[AA]_
defines the selection background color.
*-s* _RRGGBB[AA]_
defines the selection foreground color.
# USAGE
wmenu is completely controlled by the keyboard. Items are selected using the
arrow keys, page up, page down, home, and end.
*Tab*
Copy the selected item to the input field.
*Return*
Confirm selection. Prints the selected item to stdout and exits, returning
success.
*Ctrl-Return*
Confirm selection. Prints the selected item to stdout and continues.
*Shift-Return*
Confirm input. Prints the input text to stdout and exits, returning success.
*Escape*
Exit without selecting an item, returning failure.
*Ctrl-Left*
Move cursor to the start of the current word.
*Ctrl-Right*
Move cursor to the end of the current word.
|[ *C-a*
:< Home
|[ *C-b*
:< Left
|[ *C-c*
:< Escape
|[ *C-d*
:< Delete
|[ *C-e*
:< End
|[ *C-f*
:< Right
|[ *C-g*
:< Escape
|[ *C-[*
:< Escape
|[ *C-h*
:< Backspace
|[ *C-i*
:< Tab
|[ *C-j*
:< Return
|[ *C-J*
:< Shift-Return
|[ *C-k*
:< Delete line right
|[ *C-m*
:< Return
|[ *C-M*
:< Shift-Return
|[ *C-n*
:< Down
|[ *C-p*
:< Up
|[ *C-u*
:< Delete line left
|[ *C-w*
:< Delete word left
|[ *C-Y*
:< Paste from Wayland clipboard
|[ *M-b*
:< Move cursor to the start of the current word
|[ *M-f*
:< Move cursor to the end of the current word
|[ *M-g*
:< Home
|[ *M-G*
:< End
|[ *M-h*
:< Up
|[ *M-j*
:< Page down
|[ *M-k*
:< Page up
|[ *M-l*
:< Down
|