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 fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
6 /* -fn option overrides fonts[0]; default X11 font or font set */
7 static const char *fonts[] = {
8 "JetBrainsMono Medium NF:pixelsize=14:antialias=true:autohint=true"
10 static const char *prompt = NULL; /* -p option; prompt to the left of input field */
11 static const char *colors[SchemeLast][2] = {
13 [SchemeNorm] = { "#ffffff", "#000000" },
14 [SchemeSel] = { "#000000", "#ffffff" },
15 [SchemeOut] = { "#00ffff", "#ffffff" },
17 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
18 static unsigned int lines = 0;
21 * Characters not considered part of a word while deleting words
22 * for example: " /?\"&[]"
24 static const char worddelimiters[] = " ";