dmenu

dynamic menu
git clone git://mfeller.io/dmenu.git
Log | Files | Refs | README | LICENSE

config.def.h (1277B)


      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 = 0;                    /* -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 	"Fira Mono:size=10"
     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]   = { "#ebdbb2", "#161819" },
     15 	[SchemeSel]    = { "#98971a", "#1d2021" },
     16 	[SchemeOut]    = { "#000000", "#161819" },
     17 	[SchemeBorder] = { "#000000", "#aaaaaa" },
     18 };
     19 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     20 static unsigned int lines      = 0;
     21 static unsigned int lineheight = 25;         /* -h option; minimum height of a menu line     */
     22 
     23 /*
     24  * Characters not considered part of a word while deleting words
     25  * for example: " /?\"&[]"
     26  */
     27 static const char worddelimiters[] = " ";
     28 
     29 /* Size of the window border */
     30 static unsigned int border_width = 2;