dmenu.h (926B)
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 /* -fn option overrides fonts[0]; default X11 font or font set */ 6 static const char *fonts[] = { 7 "FantasqueSansMono-Regular:pixelsize=18" 8 }; 9 static const char *prompt = NULL; /* -p option; prompt to the elft of input field */ 10 static const char *colors[SchemeLast][2] = { 11 /* fg bg */ 12 [SchemeNorm] = { "#EEE8D5", "#073642" }, 13 [SchemeSel] = { "#EEE8D5", "#B58900" }, 14 [SchemeOut] = { "#EEE8D5", "#CB4B16" }, 15 }; 16 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ 17 static unsigned int lines = 0; 18 19 /* 20 * Characters not considered part of a word while deleting words 21 * for example: " /?\"&[]" 22 */ 23 static const char worddelimiters[] = " ";