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.

106 lines
2.7 KiB

17 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
18 years ago
  1. .TH DMENU 1 dmenu\-VERSION
  2. .SH NAME
  3. dmenu \- dynamic menu
  4. .SH SYNOPSIS
  5. .B dmenu
  6. .RB [ \-i ]
  7. .RB [ \-x " <x>"]
  8. .RB [ \-y " <y>"]
  9. .RB [ \-w " <width>"]
  10. .RB [ \-fn " <font>"]
  11. .RB [ \-nb " <color>"]
  12. .RB [ \-nf " <color>"]
  13. .RB [ \-p " <prompt>"]
  14. .RB [ \-sb " <color>"]
  15. .RB [ \-sf " <color>"]
  16. .RB [ \-v ]
  17. .SH DESCRIPTION
  18. .SS Overview
  19. dmenu is a generic menu for X, originally designed for
  20. .BR dwm (1).
  21. It manages huge amounts (up to 10.000 and more) of user defined menu items
  22. efficiently.
  23. .SS Options
  24. .TP
  25. .B \-x
  26. defines the x coordinate dmenu appears at (0 by default).
  27. .TP
  28. .B \-y
  29. defines the y coordinate dmenu appears at (0 by default).
  30. .TP
  31. .B \-w
  32. defines the width of the dmenu window (screen width by default).
  33. .TP
  34. .B \-i
  35. makes dmenu match menu entries case insensitively.
  36. .TP
  37. .B \-fn <font>
  38. defines the font.
  39. .TP
  40. .B \-nb <color>
  41. defines the normal background color (#RGB, #RRGGBB, and color names are supported).
  42. .TP
  43. .B \-nf <color>
  44. defines the normal foreground color (#RGB, #RRGGBB, and color names are supported).
  45. .TP
  46. .B \-p <prompt>
  47. defines a prompt to be displayed before the input area.
  48. .TP
  49. .B \-sb <color>
  50. defines the selected background color (#RGB, #RRGGBB, and color names are supported).
  51. .TP
  52. .B \-sf <color>
  53. defines the selected foreground color (#RGB, #RRGGBB, and color names are supported).
  54. .TP
  55. .B \-v
  56. prints version information to standard output, then exits.
  57. .SH USAGE
  58. dmenu reads a list of newline-separated items from standard input and creates a
  59. menu. When the user selects an item or enters any text and presses Return, his/her
  60. choice is printed to standard output and dmenu terminates.
  61. .P
  62. dmenu is completely controlled by the keyboard. The following keys are recognized:
  63. .TP
  64. .B Any printable character
  65. Appends the character to the text in the input field. This works as a filter:
  66. only items containing this text will be displayed.
  67. .TP
  68. .B Left/Right (Mod1\-h/Mod1\-l)
  69. Select the previous/next item.
  70. .TP
  71. .B PageUp/PageDown (Mod1\-k/Mod1\-j)
  72. Select the first item of the previous/next 'page' of items.
  73. .TP
  74. .B Home/End (Mod1\-g/Mod1\-G)
  75. Select the first/last item.
  76. .TP
  77. .B Tab (Control\-i)
  78. Copy the selected item to the input field.
  79. .TP
  80. .B Return (Control\-j)
  81. Confirm selection and quit (print the selected item to standard output). Returns
  82. .B 0
  83. on termination.
  84. .TP
  85. .B Shift\-Return (Control\-Shift\-j)
  86. Confirm selection and quit (print the text in the input field to standard output).
  87. Returns
  88. .B 0
  89. on termination.
  90. .TP
  91. .B Escape (Control\-bracketleft)
  92. Quit without selecting an item. Returns
  93. .B 1
  94. on termination.
  95. .TP
  96. .B Backspace (Control\-h)
  97. Remove a character from the input field.
  98. .TP
  99. .B Control\-u
  100. Remove all characters from the input field.
  101. .TP
  102. .B Control\-w
  103. Remove all characters of current word from the input field.
  104. .SH SEE ALSO
  105. .BR dwm (1),
  106. .BR wmii (1) .