1 /* See LICENSE file for copyright and license details. */
2 /* Default settings; can be overriden by command line. */
4 static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
5 static int centered = 1; /* -c option; centers dmenu on screen */
6 static int min_width = 500; /* minimum width when centered */
7 /* -fn option overrides fonts[0]; default X11 font or font set */
8 static const char *fonts[] = {
11 static const char *prompt = NULL; /* -p option; prompt to the left of input field */
12 static const char *colors[SchemeLast][2] = {
14 [SchemeNorm] = { "#bbbbbb", "#222222" },
15 [SchemeSel] = { "#eeeeee", "#005577" },
16 [SchemeOut] = { "#000000", "#00ffff" },
18 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
19 static unsigned int lines = 0;
22 * Characters not considered part of a word while deleting words
23 * for example: " /?\"&[]"
25 static const char worddelimiters[] = " ";