config.def.h (1136B)
1 /* See LICENSE file for copyright and license details. */ 2 /* Default settings; can be overriden by command line. */ 3 4 static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ 5 static int centered = 0; 6 static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */ 7 /* -fn option overrides fonts[0]; default X11 font or font set */ 8 static const char *fonts[] = { 9 "monospace:size=10" 10 }; 11 static const char *prompt = NULL; /* -p option; prompt to the left of input field */ 12 static const char *colors[SchemeLast][2] = { 13 /* fg bg */ 14 [SchemeNorm] = { "#bfbfbf", "#282a36" }, 15 [SchemeSel] = { "#f8f8f2", "#9d638a" }, 16 [SchemeSelHighlight] = { "#9AEDFE", "#9d638a" }, 17 [SchemeNormHighlight] = { "#F1FA8C", "#282a36" }, 18 [SchemeOut] = { "#000000", "#00ffff" }, 19 }; 20 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ 21 static unsigned int lines = 0; 22 23 /* 24 * Characters not considered part of a word while deleting words 25 * for example: " /?\"&[]" 26 */ 27 static const char worddelimiters[] = " ";