dmenu-exkc/config.def.h

31 lines
1.3 KiB
C
Raw Permalink Normal View History

2020-10-14 13:40:48 +00:00
/* 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 */
2020-10-14 16:20:51 +00:00
static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
2020-10-14 13:40:48 +00:00
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"monospace:size=10"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
2021-02-10 03:58:14 +00:00
static const char *symbol_1 = "<";
static const char *symbol_2 = ">";
2020-10-14 13:40:48 +00:00
static const char *colors[SchemeLast][2] = {
/* fg bg */
[SchemeNorm] = { "#bbbbbb", "#222222" },
[SchemeSel] = { "#eeeeee", "#005577" },
2020-10-14 16:20:51 +00:00
[SchemeSelHighlight] = { "#ffc978", "#005577" },
[SchemeNormHighlight] = { "#ffc978", "#222222" },
2020-10-14 13:40:48 +00:00
[SchemeOut] = { "#000000", "#00ffff" },
2020-11-07 13:53:03 +00:00
[SchemeMid] = { "#eeeeee", "#770000" },
2020-10-14 13:40:48 +00:00
};
2020-10-14 16:06:53 +00:00
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
2020-10-14 13:40:48 +00:00
static unsigned int lines = 0;
2020-11-07 14:53:14 +00:00
static unsigned int lineheight = 0; /* -h option; minimum height of a menu line */
2020-10-14 13:40:48 +00:00
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";