dmenu

Mahdi's build of dmenu
git clone git://mahdi.pw/dmenu.git
Log | Files | Refs | README | LICENSE

commit ea1c603be48f84dc5a848fa258759c955d55affb
parent cf4384f38106e9a8cf7366a9b2709891d85525e1
Author: Mahdi Mirzade <[email protected]>
Date:   Mon, 24 Oct 2022 19:42:57 +0330

config.h: remove gray, only use fg and bg.
dmenu.c: use 1/4 of screen instead of 1/3 in prompt mode.

Diffstat:
Mconfig.h | 4++--
Mdmenu.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h @@ -52,8 +52,8 @@ ResourcePref resources[] = { { "color7", STRING, &normfgcolor }, { "color0", STRING, &normbgcolor }, { "color1", STRING, &normhlcolor }, - { "color7", STRING, &selfgcolor }, - { "color8", STRING, &selbgcolor }, + { "color0", STRING, &selfgcolor }, + { "color7", STRING, &selbgcolor }, { "color1", STRING, &selhlcolor }, { "prompt", STRING, &prompt }, }; diff --git a/dmenu.c b/dmenu.c @@ -856,7 +856,7 @@ setup(void) mw = wa.width; } promptw = (prompt && *prompt) ? TEXTW(prompt) - lrpad / 4 : 0; - inputw = mw / 3; /* input width: ~33% of monitor width */ + inputw = mw / 4; /* input width: 25% of monitor width */ match(); /* create menu window */