dotfiles/dmenu/config.h

29 lines
1.1 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-10 11:30:42 +03:30
"monospace: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-07 18:17:23 +03:30
[SchemeNorm] = { "#cccccc", "#000000" }, // normal: grey text on black
[SchemeSel] = { "#000000", "#ffffff" }, // selected: black text on white
[SchemeOut] = { "#000000", "#00ffff" }, // optional: match previous Out
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;