dmenu

[fork] customized build of dmenu, the dynamic menu for X
git clone git://src.adamsgaard.dk/dmenu # fast
git clone https://src.adamsgaard.dk/dmenu.git # slow
Log | Files | Refs | README | LICENSE Back to index

config.h (957B)


      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 	"pragmatapro:size=11"
      8 	/* "terminus:size=12" */
      9 	/* "dina:size=9:antialias=false" */
     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] = { "#ffffff", "#000000" },
     15 	[SchemeSel] = { "#000000", "#ffffff" },
     16 	[SchemeOut] = { "#000000", "#00ffff" },
     17 };
     18 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     19 static unsigned int lines      = 0;
     20 
     21 /*
     22  * Characters not considered part of a word while deleting words
     23  * for example: " /?\"&[]"
     24  */
     25 static const char worddelimiters[] = " ";