You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.5 KiB
42 lines
1.5 KiB
/* See LICENSE file for copyright and license details. */
|
|
/* Default settings; can be overriden by command line. */
|
|
|
|
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
|
|
static const unsigned int alpha = 0xf0;
|
|
/* -fn option overrides fonts[0]; default X11 font or font set */
|
|
static const char *fonts[] = {
|
|
//"monospace:size=24"
|
|
"xft:Ubuntu:weight=bold:pixelsize=26:antialias=true:hinting=true"
|
|
};
|
|
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
|
|
|
|
static const unsigned int alphas[SchemeLast][2] = {
|
|
[SchemeNorm] = { OPAQUE, alpha },
|
|
[SchemeSel] = { OPAQUE, alpha },
|
|
[SchemeOut] = { OPAQUE, alpha },
|
|
};
|
|
|
|
|
|
static const char *colors[SchemeLast][2] = {
|
|
/* fg bg */
|
|
[SchemeNorm] = { "#F7774C", "#002b36" },
|
|
[SchemeSel] = { "#F7774C", "#073642"},
|
|
[SchemeOut] = { "#000000", "#00ffff" },
|
|
[SchemeSelHighlight] = { "#ffc978", "#005577" },
|
|
[SchemeNormHighlight] = { "#ffc978", "#222222" },
|
|
};
|
|
|
|
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
|
static unsigned int lines = 20;
|
|
|
|
static const unsigned int border_width = 5;
|
|
static unsigned int lineheight = 32;
|
|
static unsigned int min_lineheight = 8;
|
|
static int centered = 1; /* -c option; centers dmenu on screen */
|
|
static int min_width = 1000;
|
|
/*
|
|
* Characters not considered part of a word while deleting words
|
|
* for example: " /?\"&[]"
|
|
*/
|
|
static const char worddelimiters[] = " ";
|