dotfiles/dmenu/config.h

29 lines
1.2 KiB
C
Raw Normal View History

2025-07-10 08:58:07 +03:30
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
2025-08-07 18:17:23 +03:30
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
2025-07-10 08:58:07 +03:30
/* -fn option overrides fonts[0]; default X11 font or font set */
2025-07-12 05:28:27 +03:30
static const int user_bh = 0; /* add an defined amount of pixels to the bar height */
2025-07-10 08:58:07 +03:30
static const char *fonts[] = {
2025-08-11 00:47:47 +03:30
"Departure Mono:size=13"
2025-07-10 08:58:07 +03:30
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
2025-08-11 00:47:47 +03:30
[SchemeNorm] = { "#a8dcee", "#000000" }, // text #a8dcee on black background
[SchemeSel] = { "#000000", "#a8dcee" }, // text black on #a8dcee background
[SchemeOut] = { "#000000", "#a8dcee" }, // text black on #a8dcee background (optional)
2025-07-10 08:58:07 +03:30
};
/* -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[] = " ";
2025-07-12 05:28:27 +03:30
/* Size of the window border */
static unsigned int border_width = 0;