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.

80 lines
2.1 KiB

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 [ \-font <name> ]
  7. .RB [ \-normbg <color> ]
  8. .RB [ \-normfg <color> ]
  9. .RB [ \-selbg <color> ]
  10. .RB [ \-selfg <color> ]
  11. .RB [ \-t <seconds> ]
  12. .RB [ \-v ]
  13. .SH DESCRIPTION
  14. .SS Overview
  15. dmenu is a generic menu for X, originally designed for
  16. .BR dwm (1).
  17. It manages huge amounts (up to 10.000 and more) of user defined menu items
  18. efficiently.
  19. .SS Options
  20. .TP
  21. .B \-font <name>
  22. defines the font.
  23. .TP
  24. .B \-normbg <color>
  25. defines the normal background color (#RGB, #RRGGBB, and color names are supported).
  26. .TP
  27. .B \-normfg <color>
  28. defines the normal foreground color (#RGB, #RRGGBB, and color names are supported).
  29. .TP
  30. .B \-selbg <color>
  31. defines the selected background color (#RGB, #RRGGBB, and color names are supported).
  32. .TP
  33. .B \-selfg <color>
  34. defines the selected foreground color (#RGB, #RRGGBB, and color names are supported).
  35. .TP
  36. .B \-t <seconds>
  37. defines the seconds to wait for standard input, before exiting (default is 3).
  38. .TP
  39. .B \-v
  40. prints version information to standard output, then exits.
  41. .SH USAGE
  42. dmenu reads a list of newline-separated items from standard input and creates a
  43. menu. When the user selects an item or enters any text and presses Return, his
  44. choice is printed to standard output and dmenu terminates.
  45. .P
  46. dmenu is completely controlled by the keyboard. The following keys are recognized:
  47. .TP
  48. .B Any printable character
  49. Appends the character to the text in the input field. This works as a filter:
  50. only items containing this text will be displayed.
  51. .TP
  52. .B Left/Right
  53. Select the previous/next item.
  54. .TP
  55. .B Tab
  56. Copy the selected item to the input field.
  57. .TP
  58. .B Return
  59. Confirm selection and quit (print the selected item to standard output). Returns
  60. .B 0
  61. on termination.
  62. .TP
  63. .B Shift-Return
  64. Confirm selection and quit (print the text in the input field to standard output).
  65. Returns
  66. .B 0
  67. on termination.
  68. .TP
  69. .B Escape
  70. Quit without selecting an item. Returns
  71. .B 1
  72. on termination.
  73. .TP
  74. .B Backspace (Control-h)
  75. Remove enough characters from the input field to change its filtering effect.
  76. .TP
  77. .B Control-u
  78. Remove all characters from the input field.
  79. .SH SEE ALSO
  80. .BR dwm (1)