This commit is contained in:
tavo-wasd 2023-06-03 02:58:32 -06:00
parent 165345e2e3
commit fd052692f8

View file

@ -3,7 +3,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */ static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
static int centered = 0; /* -c option; centers dmenu on screen */ static int centered = 1; /* -c option; centers dmenu on screen */
static int min_width = 400; /* minimum width when centered */ static int min_width = 400; /* minimum width when centered */
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
@ -12,12 +12,12 @@ static const char *fonts[] = {
static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#121212", "#ffffff" }, [SchemeNorm] = { "#ebdbb2", "#1d2021" },
[SchemeSel] = { "#ffffff", "#121212" }, [SchemeSel] = { "#1d2021", "#ebdbb2" },
[SchemeOut] = { "#000000", "#00ffff" }, [SchemeOut] = { "#000000", "#00ffff" },
}; };
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0; static unsigned int lines = 10;
/* /*
* Characters not considered part of a word while deleting words * Characters not considered part of a word while deleting words
@ -26,4 +26,4 @@ static unsigned int lines = 0;
static const char worddelimiters[] = " "; static const char worddelimiters[] = " ";
/* Size of the window border */ /* Size of the window border */
static unsigned int border_width = 0; static unsigned int border_width = 2;