dotfiles

[void/arch] linux dotfiles
git clone git://git.mdnr.space/dotfiles
Log | Files | Refs

config.h (1557B)


      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 static const float menu_height_ratio = 2.0f;  /* This is the ratio used in the original calculation */
      8 /* -fn option overrides fonts[0]; default X11 font or font set */
      9 static const char *fonts[] = {
     10 	"JetBrainsMono-Regular:size=8",
     11 	"NotoColorEmoji:pixelsize=8:antialias=true:autohint=true"
     12 };
     13 static const unsigned int bgalpha = 0xe0;
     14 static const unsigned int fgalpha = OPAQUE;
     15 static const char *prompt      = NULL;      /* -p  option; prompt to the left of input field */
     16 static const char *colors[SchemeLast][2] = {
     17 	/*     fg         bg       */
     18 	[SchemeNorm] = { "#eeeeee", "#222e2e" },
     19 	[SchemeSel] = { "#ffffff", "#22212e" },
     20 	[SchemeOut] = { "#eeeeee", "#222e2e" },
     21 	// [SchemeOut] = { "#000000", "#00ffff" },
     22 };
     23 static const unsigned int alphas[SchemeLast][2] = {
     24 	/*		fgalpha		bgalphga	*/
     25 	[SchemeNorm] = { fgalpha, bgalpha },
     26 	[SchemeSel] = { fgalpha, bgalpha },
     27 	[SchemeOut] = { fgalpha, bgalpha },
     28 };
     29 
     30 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
     31 static unsigned int lines      = 0;
     32 
     33 /*
     34  * Characters not considered part of a word while deleting words
     35  * for example: " /?\"&[]"
     36  */
     37 static const char worddelimiters[] = " ";
     38