dmenu

my dmenu build
Log | Files | Refs | README | LICENSE

config.h (1116B)


      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 	"monospace:size=12"
      8 };
      9 static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
     10 static const char *colors[SchemeLast][2] = {
     11 	/*               fg         bg       */
     12 	[SchemeNorm] = { "#d1cdb7", "#454138" },
     13 	[SchemeSel] = { "#454138", "#d1cdb7" },
     14 	[SchemeOut] = { "#454138", "#d1cdb7" },
     15 };
     16 
     17 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     18 static unsigned int lines = 10;
     19 
     20 /*
     21  * Characters not considered part of a word while deleting words
     22  * for example: " /?\"&[]"
     23  */
     24 static const char worddelimiters[] = " ";
     25 
     26 static const unsigned int alphas[SchemeLast][2] = {
     27 	[SchemeNorm] = { 0xff, 0xcc },
     28 	[SchemeSel] = { 0xff, 0xcc },
     29 	[SchemeOut] = { 0xff, 0xcc },
     30 };
     31 
     32 /* Size of the window border */
     33 static const unsigned int bw = 3;