Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

243 lines
4.1 KiB

  1. .TH DMENU 1 dmenu\-VERSION
  2. .SH NAME
  3. dmenu \- dynamic menu
  4. .SH SYNOPSIS
  5. .B dmenu
  6. .RB [ \-bfiv ]
  7. .RB [ \-l
  8. .IR lines ]
  9. .RB [ \-h
  10. .IR height ]
  11. .RB [ \-m
  12. .IR monitor ]
  13. .RB [ \-x
  14. .IR xoffset ]
  15. .RB [ \-y
  16. .IR yoffset ]
  17. .RB [ \-z
  18. .IR width ]
  19. .RB [ \-p
  20. .IR prompt ]
  21. .RB [ \-fn
  22. .IR font ]
  23. .RB [ \-nb
  24. .IR color ]
  25. .RB [ \-nf
  26. .IR color ]
  27. .RB [ \-sb
  28. .IR color ]
  29. .RB [ \-sf
  30. .IR color ]
  31. .RB [ \-nhb
  32. .IR color ]
  33. .RB [ \-nhf
  34. .IR color ]
  35. .RB [ \-shb
  36. .IR color ]
  37. .RB [ \-shf
  38. .IR color ]
  39. .RB [ \-w
  40. .IR windowid ]
  41. .P
  42. .BR dmenu_run " ..."
  43. .SH DESCRIPTION
  44. .B dmenu
  45. is a dynamic menu for X, which reads a list of newline\-separated items from
  46. stdin. When the user selects an item and presses Return, their choice is printed
  47. to stdout and dmenu terminates. Entering text will narrow the items to those
  48. matching the tokens in the input.
  49. .P
  50. .B dmenu_run
  51. is a script used by
  52. .IR dwm (1)
  53. which lists programs in the user's $PATH and runs the result in their $SHELL.
  54. .SH OPTIONS
  55. .TP
  56. .B \-b
  57. dmenu appears at the bottom of the screen.
  58. .TP
  59. .B \-f
  60. dmenu grabs the keyboard before reading stdin if not reading from a tty. This
  61. is faster, but will lock up X until stdin reaches end\-of\-file.
  62. .TP
  63. .B \-i
  64. dmenu matches menu items case insensitively.
  65. .TP
  66. .BI \-l " lines"
  67. dmenu lists items vertically, with the given number of lines.
  68. .TP
  69. .BI \-h " height"
  70. dmenu uses a menu line of at least 'height' pixels tall, but no less than 8.
  71. .TP
  72. .BI \-m " monitor"
  73. dmenu is displayed on the monitor number supplied. Monitor numbers are starting
  74. from 0.
  75. .TP
  76. .BI \-x " xoffset"
  77. dmenu is placed at this offset measured from the left side of the monitor.
  78. Can be negative.
  79. If option
  80. .B \-m
  81. is present, the measurement will use the given monitor.
  82. .TP
  83. .BI \-y " yoffset"
  84. dmenu is placed at this offset measured from the top of the monitor. If the
  85. .B \-b
  86. option is used, the offset is measured from the bottom. Can be negative.
  87. If option
  88. .B \-m
  89. is present, the measurement will use the given monitor.
  90. .TP
  91. .BI \-z " width"
  92. sets the width of the dmenu window.
  93. .TP
  94. .BI \-p " prompt"
  95. defines the prompt to be displayed to the left of the input field.
  96. .TP
  97. .BI \-fn " font"
  98. defines the font or font set used.
  99. .TP
  100. .BI \-nb " color"
  101. defines the normal background color.
  102. .IR #RGB ,
  103. .IR #RRGGBB ,
  104. and X color names are supported.
  105. .TP
  106. .BI \-nf " color"
  107. defines the normal foreground color.
  108. .TP
  109. .BI \-sb " color"
  110. defines the selected background color.
  111. .TP
  112. .BI \-sf " color"
  113. defines the selected foreground color.
  114. .TP
  115. .BI \-nhb " color"
  116. defines the normal highlight background color.
  117. .TP
  118. .BI \-nhf " color"
  119. defines the normal highlight foreground color.
  120. .TP
  121. .BI \-shb " color"
  122. defines the selected highlight background color.
  123. .TP
  124. .BI \-shf " color"
  125. defines the selected highlight foreground color.
  126. .TP
  127. .B \-v
  128. prints version information to stdout, then exits.
  129. .TP
  130. .BI \-w " windowid"
  131. embed into windowid.
  132. .SH USAGE
  133. dmenu is completely controlled by the keyboard. Items are selected using the
  134. arrow keys, page up, page down, home, and end.
  135. .TP
  136. .B Tab
  137. Copy the selected item to the input field.
  138. .TP
  139. .B Return
  140. Confirm selection. Prints the selected item to stdout and exits, returning
  141. success.
  142. .TP
  143. .B Ctrl-Return
  144. Confirm selection. Prints the selected item to stdout and continues.
  145. .TP
  146. .B Shift\-Return
  147. Confirm input. Prints the input text to stdout and exits, returning success.
  148. .TP
  149. .B Escape
  150. Exit without selecting an item, returning failure.
  151. .TP
  152. .B Ctrl-Left
  153. Move cursor to the start of the current word
  154. .TP
  155. .B Ctrl-Right
  156. Move cursor to the end of the current word
  157. .TP
  158. .B C\-a
  159. Home
  160. .TP
  161. .B C\-b
  162. Left
  163. .TP
  164. .B C\-c
  165. Escape
  166. .TP
  167. .B C\-d
  168. Delete
  169. .TP
  170. .B C\-e
  171. End
  172. .TP
  173. .B C\-f
  174. Right
  175. .TP
  176. .B C\-g
  177. Escape
  178. .TP
  179. .B C\-h
  180. Backspace
  181. .TP
  182. .B C\-i
  183. Tab
  184. .TP
  185. .B C\-j
  186. Return
  187. .TP
  188. .B C\-J
  189. Shift-Return
  190. .TP
  191. .B C\-k
  192. Delete line right
  193. .TP
  194. .B C\-m
  195. Return
  196. .TP
  197. .B C\-M
  198. Shift-Return
  199. .TP
  200. .B C\-n
  201. Down
  202. .TP
  203. .B C\-p
  204. Up
  205. .TP
  206. .B C\-u
  207. Delete line left
  208. .TP
  209. .B C\-w
  210. Delete word left
  211. .TP
  212. .B C\-y
  213. Paste from primary X selection
  214. .TP
  215. .B C\-Y
  216. Paste from X clipboard
  217. .TP
  218. .B M\-b
  219. Move cursor to the start of the current word
  220. .TP
  221. .B M\-f
  222. Move cursor to the end of the current word
  223. .TP
  224. .B M\-g
  225. Home
  226. .TP
  227. .B M\-G
  228. End
  229. .TP
  230. .B M\-h
  231. Up
  232. .TP
  233. .B M\-j
  234. Page down
  235. .TP
  236. .B M\-k
  237. Page up
  238. .TP
  239. .B M\-l
  240. Down
  241. .SH SEE ALSO
  242. .IR dwm (1),
  243. .IR stest (1)