dmenu

dmenu fork
git clone git://git.rr3.xyz/dmenu
Log | Files | Refs | README | LICENSE

commit 1b72d88c510c815c8091de9571911164644a04a1
parent 7ab0cb5ef0e19352fc5d64ae0d57a5cf4540acbf
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Wed,  6 Sep 2023 14:13:57 -0700

rr3: custom changes

Diffstat:
Aconfig.h | 23+++++++++++++++++++++++
Mconfig.mk | 4++--
2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/config.h b/config.h @@ -0,0 +1,23 @@ +/* See LICENSE file for copyright and license details. */ +/* Default settings; can be overriden by command line. */ + +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=16" +}; +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", "#126912" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +/* -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: " /?\"&[]" + */ +static const char worddelimiters[] = " "; diff --git a/config.mk b/config.mk @@ -5,8 +5,8 @@ VERSION = 5.2 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib +X11INC = /usr/include +X11LIB = /usr/lib # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama