mew.1 (2924B)
1 .TH MEW 1 mew\-VERSION 2 .SH NAME 3 mew \- menu for wayland 4 .SH SYNOPSIS 5 .B mew 6 .RB [ \-beivP ] 7 .RB [ \-l 8 .IR lines ] 9 .RB [ \-o 10 .IR output ] 11 .RB [ \-p 12 .IR prompt ] 13 .RB [ \-f 14 .IR font ] 15 .RB [ \-nb 16 .IR color ] 17 .RB [ \-nf 18 .IR color ] 19 .RB [ \-sb 20 .IR color ] 21 .RB [ \-sf 22 .IR color ] 23 .P 24 .BR mew-run " ..." 25 .SH DESCRIPTION 26 .B mew 27 is an simple dynamic menu for Wayland that reads a list of newline\-separated items 28 from stdin. When the user selects an item and presses Return, their choice is printed 29 to stdout and mew terminates. Entering text will narrow the items to those 30 matching the tokens in the input. 31 .P 32 .B mew-run 33 is a script that lists programs in the user's $PATH and runs the result with 34 .BR mew\ -e . 35 .SH OPTIONS 36 .TP 37 .B \-b 38 appear at the bottom of the screen. 39 .TP 40 .B \-e 41 execute input or selection with 42 .BR /bin/sh , 43 accompanied by a xdg activation token in it's environment, subsequently 44 passing focus to the application ran. 45 .TP 46 .B \-i 47 matches menu items case insensitively. 48 .TP 49 .B \-P 50 mew will not directly display the keyboard input, but instead replace it with asterisks. All data from stdin will be ignored. 51 .TP 52 .BI \-l " lines" 53 lists item vertically, with the given number of lines. 54 .TP 55 .BI \-o " output" 56 mew is displayed on the output name supplied. 57 .TP 58 .BI \-p " prompt" 59 defines the prompt to be displayed to the left of the input field. 60 .TP 61 .BI \-f " font" 62 defines the font. 63 .TP 64 .BI \-nb " color" 65 defines the normal background color of the format: 66 .IR #RRGGBB[FF] 67 .TP 68 .BI \-nf " color" 69 defines the normal foreground color of the format: 70 .IR #RRGGBB[FF] 71 .TP 72 .BI \-sb " color" 73 defines the selected background color of the format: 74 .IR #RRGGBB[FF] 75 .TP 76 .BI \-sf " color" 77 defines the selected foreground color of the format: 78 .IR #RRGGBB[FF] 79 .TP 80 .B \-v 81 prints version information to stdout, then exits. 82 .SH USAGE 83 mew is completely controlled by the keyboard. Items are selected using the 84 arrow keys, page up, page down, home, and end. 85 .TP 86 .B Tab 87 Copy the selected item to the input field. 88 .TP 89 .B Return 90 Confirm selection. Prints the selected item to stdout and exits, returning 91 success. 92 .TP 93 .B Ctrl-Return 94 Confirm selection. Prints the selected item to stdout and continues. 95 .TP 96 .B Shift\-Return 97 Confirm input. Prints the input text to stdout and exits, returning success. 98 .TP 99 .B Escape 100 Exit without selecting an item, returning failure. 101 .TP 102 .B Ctrl-Left 103 Move cursor to the start of the current word 104 .TP 105 .B Ctrl-Right 106 Move cursor to the end of the current word 107 .TP 108 .B C\-a 109 Home 110 .TP 111 .B C\-b 112 Left 113 .TP 114 .B C\-c 115 Escape 116 .TP 117 .B C\-d 118 Delete 119 .TP 120 .B C\-e 121 End 122 .TP 123 .B C\-f 124 Right 125 .TP 126 .B C\-g 127 Escape 128 .TP 129 .B C\-h 130 Backspace 131 .TP 132 .B C\-i 133 Tab 134 .TP 135 .B C\-j 136 Return 137 .TP 138 .B C\-J 139 Shift-Return 140 .TP 141 .B C\-k 142 Delete line right 143 .TP 144 .B C\-m 145 Return 146 .TP 147 .B C\-M 148 Shift-Return 149 .TP 150 .B C\-n 151 Down 152 .TP 153 .B C\-p 154 Up 155 .TP 156 .B C\-u 157 Delete line left 158 .TP 159 .B C\-w 160 Delete word left 161 .TP 162 .B C\-y 163 Paste from Wayland clipboard 164 .TP 165 .B C\-Y 166 Paste from Wayland clipboard