config.def.h
1/* See LICENSE file for copyright and license details. */
2/* Default settings; can be overriden by command line. */
3
4static int centered = 0; /* -c option; if 0, dneby aooears at top or bottom */
5static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
6static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
7static int min_width = 800; /* the minimum width if centered */
8static int bw = 0; /* window border width */
9static int im = 2; /* input bottom margin */
10
11/* -fn option overrides fonts[0]; default X11 font or font set */
12static const char *fonts[] = {
13 "hack:size=9"
14};
15static const char *prompt = NULL; /* -p option; prompt to the left of input field */
16static const char *colors[SchemeLast][2] = {
17 /* fg bg */
18 [SchemeNorm] = { "#bbbbbb", "#222222" },
19 [SchemeOdd] = { "#bbbbbb", "#000000" },
20 [SchemeSel] = { "#eeeeee", "#005577" },
21 [SchemeSelHighlight] = { "#ffc978", "#005577" },
22 [SchemeOddHighlight] = { "#ffc978", "#000000" },
23 [SchemeNormHighlight] = { "#ffc978", "#222222" },
24 [SchemeOut] = { "#000000", "#00ffff" },
25 [SchemeBorder] = { "#000000", "#00ffff" },
26};
27/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
28static unsigned int lines = 0;
29static unsigned int lineheight = 18; /* -h option; minimum height of a menu line */
30
31/*
32 * Characters not considered part of a word while deleting words
33 * for example: " /?\"&[]"
34 */
35static const char worddelimiters[] = " ";