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.

101 lines
2.6 KiB

17 years ago
18 years ago
14 years ago
18 years ago
14 years ago
18 years ago
18 years ago
18 years ago
18 years ago
14 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 [ \-b ]
  8. .RB [ \-e " <xid>]"
  9. .RB [ \-l " <lines>]"
  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. .B dmenu_run
  18. [<options...>]
  19. .B dmenu_path
  20. .SH DESCRIPTION
  21. .SS Overview
  22. dmenu is a generic menu for X, originally designed for
  23. .BR dwm (1).
  24. It manages huge amounts (up to 10.000 and more) of user defined menu items
  25. efficiently.
  26. dmenu_run is a dmenu script used by dwm which lists executables in the user's PATH
  27. and executes the selected item.
  28. dmenu_path is a script used by dmenu_run to find and cache a list of executables.
  29. .SS Options
  30. .TP
  31. .B \-i
  32. makes dmenu match menu entries case insensitively.
  33. .TP
  34. .B \-b
  35. defines that dmenu appears at the bottom.
  36. .TP
  37. .B \-e <xid>
  38. reparents dmenu to the window specified by xid.
  39. .TP
  40. .B \-l <lines>
  41. activates vertical list mode.
  42. The given number of lines will be displayed. Window height will be adjusted.
  43. .TP
  44. .B \-fn <font>
  45. defines the font.
  46. .TP
  47. .B \-nb <color>
  48. defines the normal background color (#RGB, #RRGGBB, and color names are supported).
  49. .TP
  50. .B \-nf <color>
  51. defines the normal foreground color (#RGB, #RRGGBB, and color names are supported).
  52. .TP
  53. .B \-p <prompt>
  54. defines a prompt to be displayed before the input area.
  55. .TP
  56. .B \-sb <color>
  57. defines the selected background color (#RGB, #RRGGBB, and color names are supported).
  58. .TP
  59. .B \-sf <color>
  60. defines the selected foreground color (#RGB, #RRGGBB, and color names are supported).
  61. .TP
  62. .B \-v
  63. prints version information to standard output, then exits.
  64. .SH USAGE
  65. dmenu reads a list of newline-separated items from standard input and creates a
  66. menu. When the user selects an item or enters any text and presses Return, his/her
  67. choice is printed to standard output and dmenu terminates.
  68. .P
  69. dmenu is completely controlled by the keyboard. Besides standard Unix line editing,
  70. and item selection (Up/Down or Left/Right, PageUp/PageDown, Home/End), the following
  71. keys are recognized:
  72. .TP
  73. .B Tab (Control\-i)
  74. Copy the selected item to the input field.
  75. .TP
  76. .B Return (Control\-j)
  77. Confirm selection and quit (print the selected item to standard output). Returns
  78. .B 0
  79. on termination.
  80. .TP
  81. .B Shift\-Return (Control\-Shift\-j)
  82. Confirm input and quit (print the text in the input field to standard output).
  83. Returns
  84. .B 0
  85. on termination.
  86. .TP
  87. .B Escape (Control\-c)
  88. Quit without selecting an item. Returns
  89. .B 1
  90. on termination.
  91. .TP
  92. .B Control\-y
  93. Pastes the X selection into the input field. This requires
  94. .BR sselp (1).
  95. .SH SEE ALSO
  96. .BR dwm (1),
  97. .BR wmii (1).