rebanding
This commit is contained in:
parent
791f4aa066
commit
7284185c37
28
dmenu.1
28
dmenu.1
|
@ -1,8 +1,8 @@
|
||||||
.TH DMENU 1 dmenu\-VERSION
|
.TH DMENU 1 dmenu (zcake build)\-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dmenu \- dynamic menu
|
dmenu (zcake build) \- dynamic menu
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B dmenu
|
.B dmenu (zcake build)
|
||||||
.RB [ \-bfivP ]
|
.RB [ \-bfivP ]
|
||||||
.RB [ \-l
|
.RB [ \-l
|
||||||
.IR lines ]
|
.IR lines ]
|
||||||
|
@ -33,39 +33,39 @@ dmenu \- dynamic menu
|
||||||
.P
|
.P
|
||||||
.BR dmenu_run " ..."
|
.BR dmenu_run " ..."
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B dmenu
|
.B dmenu (zcake build)
|
||||||
is a dynamic menu for X, which reads a list of newline\-separated items from
|
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
|
stdin. When the user selects an item and presses Return, their choice is printed
|
||||||
to stdout and dmenu terminates. Entering text will narrow the items to those
|
to stdout and dmenu (zcake build) terminates. Entering text will narrow the items to those
|
||||||
matching the tokens in the input.
|
matching the tokens in the input.
|
||||||
.P
|
.P
|
||||||
.B dmenu_run
|
.B dmenu (zcake build)_run
|
||||||
is a script used by
|
is a script used by
|
||||||
.IR dwm (1)
|
.IR dwm (1)
|
||||||
which lists programs in the user's $PATH and runs the result in their $SHELL.
|
which lists programs in the user's $PATH and runs the result in their $SHELL.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-b
|
.B \-b
|
||||||
dmenu appears at the bottom of the screen.
|
dmenu (zcake build) appears at the bottom of the screen.
|
||||||
.TP
|
.TP
|
||||||
.B \-f
|
.B \-f
|
||||||
dmenu grabs the keyboard before reading stdin if not reading from a tty. This
|
dmenu (zcake build) grabs the keyboard before reading stdin if not reading from a tty. This
|
||||||
is faster, but will lock up X until stdin reaches end\-of\-file.
|
is faster, but will lock up X until stdin reaches end\-of\-file.
|
||||||
.TP
|
.TP
|
||||||
.B \-i
|
.B \-i
|
||||||
dmenu matches menu items case insensitively.
|
dmenu (zcake build) matches menu items case insensitively.
|
||||||
.TP
|
.TP
|
||||||
.B \-P
|
.B \-P
|
||||||
dmenu will not directly display the keyboard input, but instead replace it with dots. All data from stdin will be ignored.
|
dmenu (zcake build) will not directly display the keyboard input, but instead replace it with dots. All data from stdin will be ignored.
|
||||||
.TP
|
.TP
|
||||||
.BI \-l " lines"
|
.BI \-l " lines"
|
||||||
dmenu lists items vertically, with the given number of lines.
|
dmenu (zcake build) lists items vertically, with the given number of lines.
|
||||||
.TP
|
.TP
|
||||||
.BI \-h " height"
|
.BI \-h " height"
|
||||||
dmenu uses a menu line of at least 'height' pixels tall, but no less than 8.
|
dmenu (zcake build) uses a menu line of at least 'height' pixels tall, but no less than 8.
|
||||||
.TP
|
.TP
|
||||||
.BI \-m " monitor"
|
.BI \-m " monitor"
|
||||||
dmenu is displayed on the monitor number supplied. Monitor numbers are starting
|
dmenu (zcake build) is displayed on the monitor number supplied. Monitor numbers are starting
|
||||||
from 0.
|
from 0.
|
||||||
.TP
|
.TP
|
||||||
.BI \-p " prompt"
|
.BI \-p " prompt"
|
||||||
|
@ -107,7 +107,7 @@ prints version information to stdout, then exits.
|
||||||
.BI \-w " windowid"
|
.BI \-w " windowid"
|
||||||
embed into windowid.
|
embed into windowid.
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
dmenu is completely controlled by the keyboard. Items are selected using the
|
dmenu (zcake build) is completely controlled by the keyboard. Items are selected using the
|
||||||
arrow keys, page up, page down, home, and end.
|
arrow keys, page up, page down, home, and end.
|
||||||
.TP
|
.TP
|
||||||
.B Tab
|
.B Tab
|
||||||
|
|
16
dmenu.c
16
dmenu.c
|
@ -1015,22 +1015,6 @@ main(int argc, char *argv[])
|
||||||
prompt = argv[++i];
|
prompt = argv[++i];
|
||||||
else if (!strcmp(argv[i], "-fn")) /* font or font set */
|
else if (!strcmp(argv[i], "-fn")) /* font or font set */
|
||||||
fonts[0] = argv[++i];
|
fonts[0] = argv[++i];
|
||||||
else if (!strcmp(argv[i], "-nb")) /* normal background color */
|
|
||||||
colors[SchemeNorm][ColBg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-nf")) /* normal foreground color */
|
|
||||||
colors[SchemeNorm][ColFg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-sb")) /* selected background color */
|
|
||||||
colors[SchemeSel][ColBg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-sf")) /* selected foreground color */
|
|
||||||
colors[SchemeSel][ColFg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-nhb")) /* normal hi background color */
|
|
||||||
colors[SchemeNormHighlight][ColBg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-nhf")) /* normal hi foreground color */
|
|
||||||
colors[SchemeNormHighlight][ColFg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-shb")) /* selected hi background color */
|
|
||||||
colors[SchemeSelHighlight][ColBg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-shf")) /* selected hi foreground color */
|
|
||||||
colors[SchemeSelHighlight][ColFg] = argv[++i];
|
|
||||||
else if (!strcmp(argv[i], "-w")) /* embedding window id */
|
else if (!strcmp(argv[i], "-w")) /* embedding window id */
|
||||||
embed = argv[++i];
|
embed = argv[++i];
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue