dmenu/config.def.h

49 lines
1.6 KiB
C
Raw Permalink Normal View History

/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
2015-11-08 22:03:34 +00:00
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
2023-04-27 13:04:29 +01:00
static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
2024-06-15 23:10:51 +01:00
/* -fn option overrides fonts[0]; default X11 font or font set */
static char font[] = "monospace:size=30";
static char font2[] = "NotoColorEmoji:pixelsize=44:antialias=true:autohint=true";
static const char *fonts[] = {
font,
font2
};
2024-06-15 23:10:51 +01:00
static char *prompt = NULL; /* -p option; prompt to the left of input field */
static char normfgcolor[] = "#bbbbbb";
static char normbgcolor[] = "#222222";
static char selfgcolor[] = "#eeeeee";
static char selbgcolor[] = "#005577";
static char *colors[SchemeLast][2] = {
/* fg bg */
2024-06-15 23:10:51 +01:00
[SchemeNorm] = { normfgcolor, normbgcolor },
[SchemeSel] = { selfgcolor, selbgcolor },
[SchemeOut] = { "#000000", "#00ffff" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";
2024-06-15 23:10:51 +01:00
/*
* Xresources preferences to load at startup
*/
ResourcePref resources[] = {
{ "font", STRING, &font },
{ "font2", STRING, &font2 },
{ "topbar", INTEGER, &topbar },
2024-06-15 23:10:51 +01:00
{ "normfgcolor", STRING, &normfgcolor },
{ "normbgcolor", STRING, &normbgcolor },
{ "selfgcolor", STRING, &selfgcolor },
{ "selbgcolor", STRING, &selbgcolor },
{ "prompt", STRING, &prompt },
};