From 7bf6f5dabe3b0530dc1811663a5498acfa1df879 Mon Sep 17 00:00:00 2001 From: stkhan Date: Wed, 23 Jul 2025 21:35:48 -0500 Subject: Dmenu overhaul --- wm/dmenu-5.3/config.def.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 wm/dmenu-5.3/config.def.h (limited to 'wm/dmenu-5.3/config.def.h') diff --git a/wm/dmenu-5.3/config.def.h b/wm/dmenu-5.3/config.def.h new file mode 100644 index 0000000..d336705 --- /dev/null +++ b/wm/dmenu-5.3/config.def.h @@ -0,0 +1,34 @@ +/* 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 */ +static const unsigned int alpha = 0xff; /* Amount of opacity. 0xff is opaque */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "monospace:size=10" +}; +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" }, +}; + +static const unsigned int alphas[SchemeLast][2] = { + [SchemeNorm] = { OPAQUE, alpha }, + [SchemeSel] = { OPAQUE, alpha }, + [SchemeOut] = { OPAQUE, alpha }, +}; +/* -l and -g options; controls number of lines and columns in grid if > 0 */ +static unsigned int lines = 0; +static unsigned int columns = 0; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; + +/* Size of the window border */ +static unsigned int border_width = 0; -- cgit v1.2.3