This commit is contained in:
zcake 2021-04-18 05:06:36 +08:00
parent c2fb22dccd
commit 12739be930
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# dmenu(zcake build) - dynamic menu
# dmenu(eXkc build) - dynamic menu
# dmenu is an efficient dynamic menu for X.

BIN
dmenu

Binary file not shown.

10
dmenu.1
View File

@ -1,13 +1,13 @@
.TH DMENU 1 dmenu \-VERSION
.SH NAME
dmenu\- dynamic menu (zcake build)
dmenu\- dynamic menu (eXkc build)
.SH SYNOPSIS
.B dmenu
.SH DESCRIPTION
.B dmenu
is a dynamic menu for X, which reads a list of newline\-separated items from
stdin. When the user selects an item and presses Return, their choice is printed
to stdout and dmenu (zcake build) terminates. Entering text will narrow the items to those
to stdout and dmenu (eXkc build) terminates. Entering text will narrow the items to those
matching the tokens in the input.
.P
.B dmenu_run
@ -36,10 +36,10 @@ dmenu matches menu items case insensitively.
dmenu will not directly display the keyboard input, but instead replace it with dots. All data from stdin will be ignored.
.TP
.BI \-l " lines"
dmenu (zcake build) lists items vertically, with the given number of lines.
dmenu (eXkc build) lists items vertically, with the given number of lines.
.TP
.BI \-m " monitor"
dmenu (zcake build) is displayed on the monitor number supplied. Monitor numbers are starting
dmenu (eXkc build) is displayed on the monitor number supplied. Monitor numbers are starting
from 0.
.TP
.BI \-p " prompt"
@ -55,7 +55,7 @@ runing dmenu with no item
.BI \-w " windowid"
embed into windowid.
.SH USAGE
dmenu (zcake build) is completely controlled by the keyboard. Items are selected using the
dmenu (eXkc build) is completely controlled by the keyboard. Items are selected using the
arrow keys, page up, page down, home, and end.
.TP
.B Tab

View File

@ -1003,7 +1003,7 @@ setup(void)
static void
usage(void)
{
fputs("usage: dmenu(zcake bulid) [-b bottom bar] [-n no item] [-l lines] [-p prompt] [-m monitor]\n"
fputs("usage: dmenu(eXkc bulid) [-b bottom bar] [-n no item] [-l lines] [-p prompt] [-m monitor]\n"
" [-v prints version] [-F fuzzy] [-w windowid] [-P password]\n"
" [-f grabs the keyboard before reading stdin] \n", stderr);
exit(1);

BIN
stest

Binary file not shown.