birdmenu

mrgrouse's dmenu - a dmenu fork by the bird
Log | Files | Refs | README | LICENSE

config.def.h (1422B)


      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 = 1;                    /* -c option; centers dmenu on screen */
      6 static int min_width = 500;                    /* minimum width when centered */
      7 /* -fn option overrides fonts[0]; default X11 font or font set */
      8 static const char *fonts[] = {
      9 	"LexendDeca-Bold:pixelsize=16",
     10 };
     11 static const unsigned int bgalpha = 0x70;
     12 static const unsigned int fgalpha = OPAQUE;
     13 static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
     14 static const char *colors[SchemeLast][2] = {
     15 	/*     fg         bg       */
     16 	[SchemeNorm] = { "#bbbbbb", "#222222" },
     17 	[SchemeSel] = { "#eeeeee", "#005577" },
     18 	[SchemeOut] = { "#000000", "#00ffff" },
     19 };
     20 static const unsigned int alphas[SchemeLast][2] = {
     21 	/*		fgalpha		bgalphga	*/
     22 	[SchemeNorm] = { fgalpha, bgalpha },
     23 	[SchemeSel] = { fgalpha, bgalpha },
     24 	[SchemeOut] = { fgalpha, bgalpha },
     25 };
     26 
     27 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     28 static unsigned int lines      = 10;
     29 
     30 /*
     31  * Characters not considered part of a word while deleting words
     32  * for example: " /?\"&[]"
     33  */
     34 static const char worddelimiters[] = " ";
     35 
     36 /* Size of the window border */
     37 static unsigned int border_width = 3;