add embedding support with -w option
[dmenu.git] / dmenu.1
diff --git a/dmenu.1 b/dmenu.1
index b221417..9eab758 100644 (file)
--- a/dmenu.1
+++ b/dmenu.1
@@ -3,11 +3,11 @@
 dmenu \- dynamic menu
 .SH SYNOPSIS
 .B dmenu
 dmenu \- dynamic menu
 .SH SYNOPSIS
 .B dmenu
-.RB [ \-b ]
-.RB [ \-f ]
-.RB [ \-i ]
+.RB [ \-bfiv ]
 .RB [ \-l
 .IR lines ]
 .RB [ \-l
 .IR lines ]
+.RB [ \-m
+.IR monitor ]
 .RB [ \-p
 .IR prompt ]
 .RB [ \-fn
 .RB [ \-p
 .IR prompt ]
 .RB [ \-fn
@@ -20,7 +20,8 @@ dmenu \- dynamic menu
 .IR color ]
 .RB [ \-sf
 .IR color ]
 .IR color ]
 .RB [ \-sf
 .IR color ]
-.RB [ \-v ]
+.RB [ \-w
+.IR windowid ]
 .P
 .BR dmenu_run " ..."
 .SH DESCRIPTION
 .P
 .BR dmenu_run " ..."
 .SH DESCRIPTION
@@ -49,6 +50,10 @@ dmenu matches menu items case insensitively.
 .BI \-l " lines"
 dmenu lists items vertically, with the given number of lines.
 .TP
 .BI \-l " lines"
 dmenu lists items vertically, with the given number of lines.
 .TP
+.BI \-m " monitor"
+dmenu is displayed on the monitor number supplied. Monitor numbers are starting
+from 0.
+.TP
 .BI \-p " prompt"
 defines the prompt to be displayed to the left of the input field.
 .TP
 .BI \-p " prompt"
 defines the prompt to be displayed to the left of the input field.
 .TP
@@ -72,6 +77,9 @@ defines the selected foreground color.
 .TP
 .B \-v
 prints version information to stdout, then exits.
 .TP
 .B \-v
 prints version information to stdout, then exits.
+.TP
+.BI \-w " windowid"
+embed into windowid.
 .SH USAGE
 dmenu is completely controlled by the keyboard.  Items are selected using the
 arrow keys, page up, page down, home, and end.
 .SH USAGE
 dmenu is completely controlled by the keyboard.  Items are selected using the
 arrow keys, page up, page down, home, and end.
@@ -83,6 +91,9 @@ Copy the selected item to the input field.
 Confirm selection.  Prints the selected item to stdout and exits, returning
 success.
 .TP
 Confirm selection.  Prints the selected item to stdout and exits, returning
 success.
 .TP
+.B Ctrl-Return
+Confirm selection.  Prints the selected item to stdout and continues.
+.TP
 .B Shift\-Return
 Confirm input.  Prints the input text to stdout and exits, returning success.
 .TP
 .B Shift\-Return
 Confirm input.  Prints the input text to stdout and exits, returning success.
 .TP
@@ -107,6 +118,9 @@ End
 C\-f
 Right
 .TP
 C\-f
 Right
 .TP
+C\-g
+Escape
+.TP
 C\-h
 Backspace
 .TP
 C\-h
 Backspace
 .TP
@@ -116,12 +130,18 @@ Tab
 C\-j
 Return
 .TP
 C\-j
 Return
 .TP
+C\-J
+Shift-Return
+.TP
 C\-k
 Delete line right
 .TP
 C\-m
 Return
 .TP
 C\-k
 Delete line right
 .TP
 C\-m
 Return
 .TP
+C\-M
+Shift-Return
+.TP
 C\-n
 Down
 .TP
 C\-n
 Down
 .TP
@@ -147,16 +167,16 @@ M\-G
 End
 .TP
 M\-h
 End
 .TP
 M\-h
-Page up
+Up
 .TP
 M\-j
 .TP
 M\-j
-Up
+Page down
 .TP
 M\-k
 .TP
 M\-k
-Down
+Page up
 .TP
 M\-l
 .TP
 M\-l
-Page down
+Down
 .SH SEE ALSO
 .IR dwm (1),
 .IR stest (1)
 .SH SEE ALSO
 .IR dwm (1),
 .IR stest (1)