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.

105 lines
2.5 KiB

17 years ago
18 years ago
14 years ago
14 years ago
18 years ago
14 years ago
18 years ago
18 years ago
18 years ago
14 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 [ \-b ]
  7. .RB [ \-i ]
  8. .RB [ \-l " <lines>]"
  9. .RB [ \-p " <prompt>]"
  10. .RB [ \-fn " <font>]"
  11. .RB [ \-nb " <color>]"
  12. .RB [ \-nf " <color>]"
  13. .RB [ \-sb " <color>]"
  14. .RB [ \-sf " <color>]"
  15. .RB [ \-v ]
  16. .B dmenu_run
  17. .RB [ \-b ]
  18. .RB [ \-i ]
  19. .RB [ \-l " <lines>]"
  20. .RB [ \-p " <prompt>]"
  21. .RB [ \-fn " <font>]"
  22. .RB [ \-nb " <color>]"
  23. .RB [ \-nf " <color>]"
  24. .RB [ \-sb " <color>]"
  25. .RB [ \-sf " <color>]"
  26. .RB [ \-v ]
  27. .B dmenu_path
  28. .SH DESCRIPTION
  29. .SS Overview
  30. .B dmenu
  31. is a generic menu for X, originally designed for
  32. .BR dwm (1).
  33. It manages huge amounts (10000 and more) of user defined menu items efficiently.
  34. .P
  35. .B dmenu_run
  36. is a dmenu script which lists programs in the user's PATH and executes
  37. the selected item.
  38. .P
  39. .B dmenu_path
  40. is a script used by
  41. .I dmenu_run
  42. to find and cache a list of programs.
  43. .SS Options
  44. .TP
  45. .B \-b
  46. dmenu appears at the bottom of the screen.
  47. .TP
  48. .B \-i
  49. dmenu matches menu entries case insensitively.
  50. .TP
  51. .B \-l <lines>
  52. dmenu lists items vertically, with the given number of lines.
  53. .TP
  54. .B \-p <prompt>
  55. sets the prompt to be displayed to the left of the input area.
  56. .TP
  57. .B \-fn <font>
  58. sets the font.
  59. .TP
  60. .B \-nb <color>
  61. sets the background color (#RGB, #RRGGBB, and color names are supported).
  62. .TP
  63. .B \-nf <color>
  64. sets the foreground color (#RGB, #RRGGBB, and color names are supported).
  65. .TP
  66. .B \-sb <color>
  67. sets the background color of selected items (#RGB, #RRGGBB, and color names are
  68. supported).
  69. .TP
  70. .B \-sf <color>
  71. sets the foreground color of selected items (#RGB, #RRGGBB, and color names are
  72. supported).
  73. .TP
  74. .B \-v
  75. prints version information to standard output, then exits.
  76. .SH USAGE
  77. dmenu reads a list of newline-separated items from standard input and creates a
  78. menu. When the user selects an item or enters any text and presses Return,
  79. their choice is printed to standard output and dmenu terminates.
  80. .P
  81. dmenu is completely controlled by the keyboard. Besides standard Unix line
  82. editing and item selection (Up/Down/Left/Right, PageUp/PageDown, Home/End), the
  83. following keys are recognized:
  84. .TP
  85. .B Tab (Control\-i)
  86. Copy the selected item to the input field.
  87. .TP
  88. .B Return (Control\-j)
  89. Confirm selection. Prints the selected item to standard output and exits,
  90. returning success.
  91. .TP
  92. .B Shift\-Return (Control\-Shift\-j)
  93. Confirm input. Prints the input text to standard output and exits, returning
  94. success.
  95. .TP
  96. .B Escape (Control\-c)
  97. Quit without selecting an item, returning failure.
  98. .TP
  99. .B Control\-y
  100. Paste the current X selection into the input field.
  101. .SH SEE ALSO
  102. .BR dwm (1),
  103. .BR wmii (1).