modified: README
deleted: README.md modified: config.def.h modified: config.h modified: dmenu.1 LICENSE dmenu.c dmenu.o dmenu_path drw.o stest stest.1 stest.c stest.o util.c util.o
This commit is contained in:
parent
24e3241db7
commit
3569711684
5
README
5
README
@ -2,11 +2,6 @@ dmenu - dynamic menu
|
||||
====================
|
||||
dmenu is an efficient dynamic menu for X.
|
||||
|
||||
Personal Adjustments
|
||||
--------------------
|
||||
This build has a history feature, can open a terminal window
|
||||
if command ends in "!" and is adjust to fit bar padding used in dwm.
|
||||
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
29
README.md
29
README.md
@ -1,29 +0,0 @@
|
||||
dmenu - dynamic menu
|
||||
====================
|
||||
dmenu is an efficient dynamic menu for X.
|
||||
|
||||
Personal Adjustments
|
||||
--------------------
|
||||
This build has a history feature, can open a terminal window
|
||||
if command ends in "!" and is adjust to fit bar padding used in dwm.
|
||||
|
||||
|
||||
Requirements
|
||||
------------
|
||||
In order to build dmenu you need the Xlib header files.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
Edit config.mk to match your local setup (dmenu is installed into
|
||||
the /usr/local namespace by default).
|
||||
|
||||
Afterwards enter the following command to build and install dmenu
|
||||
(if necessary as root):
|
||||
|
||||
make clean install
|
||||
|
||||
|
||||
Running dmenu
|
||||
-------------
|
||||
See the man page for details.
|
15
config.def.h
15
config.def.h
@ -4,18 +4,21 @@
|
||||
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
|
||||
/* -fn option overrides fonts[0]; default X11 font or font set */
|
||||
static const char *fonts[] = {
|
||||
"monospace:size=10"
|
||||
};
|
||||
"monospace:size=13",
|
||||
"IPAGothic:size=13",
|
||||
"symbola:size=13"};
|
||||
|
||||
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
|
||||
|
||||
static const char *colors[SchemeLast][2] = {
|
||||
/* fg bg */
|
||||
[SchemeNorm] = { "#bbbbbb", "#222222" },
|
||||
[SchemeSel] = { "#eeeeee", "#005577" },
|
||||
[SchemeOut] = { "#000000", "#00ffff" },
|
||||
[SchemeNorm] = { "#d7d5d1", "#000000" },
|
||||
[SchemeSel] = { "#d7d5d1", "#7D7A63" },
|
||||
[SchemeOut] = { "#d7d5d1", "#96A3A8" },
|
||||
};
|
||||
|
||||
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
||||
static unsigned int lines = 0;
|
||||
|
||||
/*
|
||||
* Characters not considered part of a word while deleting words
|
||||
* for example: " /?\"&[]"
|
||||
|
22
config.h
22
config.h
@ -7,6 +7,7 @@ static const char *fonts[] = {
|
||||
"monospace:size=13",
|
||||
"IPAGothic:size=13",
|
||||
"symbola:size=13"};
|
||||
|
||||
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
|
||||
|
||||
static const char *colors[SchemeLast][2] = {
|
||||
@ -16,27 +17,12 @@ static const char *colors[SchemeLast][2] = {
|
||||
[SchemeOut] = { "#d7d5d1", "#96A3A8" },
|
||||
};
|
||||
|
||||
|
||||
|
||||
//static const char *colors[SchemeLast][2] = {
|
||||
// /* fg bg */
|
||||
// [SchemeNorm] = { "#d3dae3", "#000000" },
|
||||
// [SchemeSel] = { "#d3dae3", "#718AAA" },
|
||||
// [SchemeOut] = { "#d3dae3", "#9DB1CE" },
|
||||
//};
|
||||
|
||||
/*static const char *colors[SchemeLast][2] = {
|
||||
fg bg
|
||||
[SchemeNorm] = { "#bbbbbb", "#222222" },
|
||||
[SchemeSel] = { "#eeeeee", "#005577" },
|
||||
[SchemeOut] = { "#000000", "#00ffff" },
|
||||
};*/
|
||||
|
||||
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
||||
static unsigned int lines = 0;
|
||||
static const int vertpad = 10; /* vertical padding of bar */
|
||||
static const int sidepad = 20; /* horizontal padding of bar */
|
||||
|
||||
static int instant = 1;
|
||||
static int sidepad = 20;
|
||||
static int vertpad = 10;
|
||||
/*
|
||||
* Characters not considered part of a word while deleting words
|
||||
* for example: " /?\"&[]"
|
||||
|
5
dmenu.1
5
dmenu.1
@ -3,7 +3,7 @@
|
||||
dmenu \- dynamic menu
|
||||
.SH SYNOPSIS
|
||||
.B dmenu
|
||||
.RB [ \-bfiv ]
|
||||
.RB [ \-bfinv ]
|
||||
.RB [ \-l
|
||||
.IR lines ]
|
||||
.RB [ \-m
|
||||
@ -47,6 +47,9 @@ is faster, but will lock up X until stdin reaches end\-of\-file.
|
||||
.B \-i
|
||||
dmenu matches menu items case insensitively.
|
||||
.TP
|
||||
.B \-n
|
||||
dmenu instantly selects if only one match
|
||||
.TP
|
||||
.BI \-l " lines"
|
||||
dmenu lists items vertically, with the given number of lines.
|
||||
.TP
|
||||
|
Loading…
Reference in New Issue
Block a user