dmenu

git clone git://mattcarlson.org/repos/dmenu.git
Log | Files | Refs

commit 6635ddf9d704a1f7c5eccc92d1e5a73936186a20
parent cce343b532ff8edf1be6a1b71251be3ad25c86ed
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Thu,  8 Jul 2021 06:46:31 +0000

added more xresources variables

Diffstat:
Mconfig.h | 17++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/config.h b/config.h @@ -35,16 +35,19 @@ static unsigned int lines = 0; static const char worddelimiters[] = " "; /* Size of the window border */ -static const unsigned int border_width = 5; +static unsigned int border_width = 5; /* * Xresources preferences to load at startup */ ResourcePref resources[] = { - { "font", STRING, &font }, - { "normfgcolor", STRING, &normfgcolor }, - { "normbgcolor", STRING, &normbgcolor }, - { "selfgcolor", STRING, &selfgcolor }, - { "selbgcolor", STRING, &selbgcolor }, - { "prompt", STRING, &prompt }, + { "font", STRING, &font }, + { "normfgcolor", STRING, &normfgcolor }, + { "normbgcolor", STRING, &normbgcolor }, + { "selfgcolor", STRING, &selfgcolor }, + { "selbgcolor", STRING, &selbgcolor }, + { "prompt", STRING, &prompt }, + { "min_width", INTEGER, &min_width }, + { "colorprompt", INTEGER, &colorprompt }, + { "border_width", INTEGER, &border_width }, };