dmenu

[fork] X11 menuing
git clone https://hhvn.uk/dmenu
git clone git://hhvn.uk/dmenu
Log | Files | Refs | README | LICENSE

config.h (1465B)


      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 incremental = 0;                 /* -r option; incrementally output text */
      7 static int shiftswap = 0;                   /* -s option; swap shift+enter and enter */
      8 static int fuzzy = 1;
      9 static int lineheight = 20;
     10 static unsigned int dmw = 600;
     11 /* -fn option overrides fonts[0]; default X11 font or font set */
     12 static const char *fonts[] = {
     13 	"monospace:size=8"
     14 };
     15 static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
     16 static const char *colors[SchemeLast][2] = {
     17 	[SchemeNorm]   = { "#ffffff", "#050a10" },
     18 	[SchemeSel]    = { "#ffffff", "#1b364b" },
     19 	[SchemeOut]    = { "#888888", "#050a10" },
     20 	[SchemeSelOut] = { "#888888", "#0a2126" },
     21 	[SchemeBorder] = { "#ffffff", "#1b364b" },
     22 
     23 	[SchemeNormHighlight] = { "#aafff0", "#050a10" },
     24 	[SchemeSelHighlight]  = { "#aafff0", "#1b364b" },
     25 };
     26 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     27 static unsigned int lines=20;
     28 
     29 /*
     30  * Characters not considered part of a word while deleting words
     31  * for example: " /?\"&[]"
     32  */
     33 static const char worddelimiters[] = " ";
     34 
     35 /* Size of the window border */
     36 static unsigned int border_width = 1;