From 4ca128c4776a5c53f6838a432aa600e3bbde3ecc Mon Sep 17 00:00:00 2001 From: Sander van Dijk Date: Sat, 18 Feb 2006 20:37:28 +0100 Subject: [PATCH] Add shortcuts to wmiimenu.1, some other changes. --- cmd/wmiimenu.1 | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/cmd/wmiimenu.1 b/cmd/wmiimenu.1 index bc6f57e9..a4ce9d25 100644 --- a/cmd/wmiimenu.1 +++ b/cmd/wmiimenu.1 @@ -3,26 +3,48 @@ wmiimenu \- window manager improved 2 menu .SH SYNOPSIS .B wmiimenu -.B \-s -.I socketfile +.RB [ \-v ] .SH DESCRIPTION .SS Overview .B wmiimenu is a generic, highly customizable, and efficient menu for the X Window System, originally designed for .BR wmii (1). -It supports arbitrary, user defined menu contents, which get printed to stdout when selected. +It supports arbitrary, user defined menu contents. .SS Options .TP .B \-v prints version information to stderr, then exits. +.SS Keys +.B wmiimenu +is completely keyboard controlled, these are the keys: +.TP 2 +Any printable character: +append the character to the text in the input field. This works as a filter: +only items containing this text will be displayed. +.TP 2 +Left/Right (C-p/C-n) +select the previous/next item. +.TP 2 +Tab (C-i) +copy the selected item to the input field. +.TP 2 +Enter (C-j) +confirm selection and quit. +.TP 2 +Escape (C-[) +quit without selecting an item. +.TP 2 +Backspace (C-h) +remove enough characters from the input field to change its filtering effect. +.TP 2 +C-u +remove all characters from the input field. .SS Customization .B wmiimenu -is customized by feeding it a list of newline-separated items from stdin. +is customized by providing it a list of newline-separated items from stdin on startup. +The selected item is printed to stdout. .SH SEE ALSO -.BR wmiibar (1), -.BR wmiifs (1), .BR wmii (1), .BR wmiiwm (1), -.BR wmiikeys (1), .BR wmiir (1)