dmenu for lunch applications in dwm
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.

171 lines
2.5 KiB

17 years ago
18 years ago
18 years ago
18 years ago
13 years ago
13 years ago
18 years ago
13 years ago
14 years ago
18 years ago
13 years ago
18 years ago
13 years ago
  1. .TH DMENU 1 dmenu\-VERSION
  2. .SH NAME
  3. dmenu \- dynamic menu
  4. .SH SYNOPSIS
  5. .B dmenu
  6. .RB [ \-b ]
  7. .RB [ \-f ]
  8. .RB [ \-i ]
  9. .RB [ \-l
  10. .IR lines ]
  11. .RB [ \-p
  12. .IR prompt ]
  13. .RB [ \-fn
  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. .RB [ \-v ]
  24. .P
  25. .BR dmenu_run " ..."
  26. .SH DESCRIPTION
  27. .B dmenu
  28. is a dynamic menu for X, which reads a list of newline\-separated items from
  29. stdin. When the user selects an item and presses Return, their choice is printed
  30. to stdout and dmenu terminates. Entering text will narrow the items to those
  31. matching the tokens in the input.
  32. .P
  33. .B dmenu_run
  34. is a script used by
  35. .IR dwm (1)
  36. which lists programs in the user's $PATH and runs the result in their $SHELL.
  37. .SH OPTIONS
  38. .TP
  39. .B \-b
  40. dmenu appears at the bottom of the screen.
  41. .TP
  42. .B \-f
  43. dmenu grabs the keyboard before reading stdin. This is faster, but will lock up
  44. X until stdin reaches end\-of\-file.
  45. .TP
  46. .B \-i
  47. dmenu matches menu items case insensitively.
  48. .TP
  49. .BI \-l " lines"
  50. dmenu lists items vertically, with the given number of lines.
  51. .TP
  52. .BI \-p " prompt"
  53. defines the prompt to be displayed to the left of the input field.
  54. .TP
  55. .BI \-fn " font"
  56. defines the font or font set used.
  57. .TP
  58. .BI \-nb " color"
  59. defines the normal background color.
  60. .IR #RGB ,
  61. .IR #RRGGBB ,
  62. and X color names are supported.
  63. .TP
  64. .BI \-nf " color"
  65. defines the normal foreground color.
  66. .TP
  67. .BI \-sb " color"
  68. defines the selected background color.
  69. .TP
  70. .BI \-sf " color"
  71. defines the selected foreground color.
  72. .TP
  73. .B \-v
  74. prints version information to stdout, then exits.
  75. .SH USAGE
  76. dmenu is completely controlled by the keyboard. Items are selected using the
  77. arrow keys, page up, page down, home, and end.
  78. .TP
  79. .B Tab
  80. Copy the selected item to the input field.
  81. .TP
  82. .B Return
  83. Confirm selection. Prints the selected item to stdout and exits, returning
  84. success.
  85. .TP
  86. .B Ctrl-Return
  87. Confirm selection. Prints the selected item to stdout and continues.
  88. .TP
  89. .B Shift\-Return
  90. Confirm input. Prints the input text to stdout and exits, returning success.
  91. .TP
  92. .B Escape
  93. Exit without selecting an item, returning failure.
  94. .TP
  95. C\-a
  96. Home
  97. .TP
  98. C\-b
  99. Left
  100. .TP
  101. C\-c
  102. Escape
  103. .TP
  104. C\-d
  105. Delete
  106. .TP
  107. C\-e
  108. End
  109. .TP
  110. C\-f
  111. Right
  112. .TP
  113. C\-g
  114. Escape
  115. .TP
  116. C\-h
  117. Backspace
  118. .TP
  119. C\-i
  120. Tab
  121. .TP
  122. C\-j
  123. Return
  124. .TP
  125. C\-J
  126. Shift-Return
  127. .TP
  128. C\-k
  129. Delete line right
  130. .TP
  131. C\-m
  132. Return
  133. .TP
  134. C\-n
  135. Down
  136. .TP
  137. C\-p
  138. Up
  139. .TP
  140. C\-u
  141. Delete line left
  142. .TP
  143. C\-w
  144. Delete word left
  145. .TP
  146. C\-y
  147. Paste from primary X selection
  148. .TP
  149. C\-Y
  150. Paste from X clipboard
  151. .TP
  152. M\-g
  153. Home
  154. .TP
  155. M\-G
  156. End
  157. .TP
  158. M\-h
  159. Up
  160. .TP
  161. M\-j
  162. Page down
  163. .TP
  164. M\-k
  165. Page up
  166. .TP
  167. M\-l
  168. Down
  169. .SH SEE ALSO
  170. .IR dwm (1),
  171. .IR stest (1)