dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
config.def.h (1393B)
   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 fuzzy = 1;                      /* -F  option; if 0, dmenu doesn't use fuzzy matching     */
   6 static int centered = 0;                    /* -c option; centers dmenu on screen */
   7 /* static int min_width = -200;                    /1* minimum width when centered *1/ */
   8 /* -fn option overrides fonts[0]; default X11 font or font set */
   9 static const char *fonts[] = {
  10     "DejaVuSansMono Nerd Font:style=Regular:size=8"
  11 };
  12 static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
  13 static const char *colors[SchemeLast][2] = {
  14     /*     fg         bg       */
  15     [SchemeNorm] = { "#bbbbbb", "#222222" },
  16     [SchemeSel] = { "#eeeeee", "#005577" },
  17     [SchemeOut] = { "#000000", "#00ffff" },
  18 };
  19 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
  20 static unsigned int lines      = 0;
  21 /* -h option; minimum height of a menu line */
  22 static unsigned int lineheight = 0;
  23 static unsigned int min_lineheight = 8;
  24 
  25 /*
  26  * Characters not considered part of a word while deleting words
  27  * for example: " /?\"&[]"
  28  */
  29 static const char worddelimiters[] = " ";
  30 
  31 /* Size of the window border */
  32 static unsigned int border_width = 0;