aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2025-06-16 17:33:15 +0200
committerPhilip Wittamore <philip@wittamore.com>2025-06-16 17:33:15 +0200
commit07013dd52c04158e8dc640d6209a8372a110fda0 (patch)
treeefe0db391f2eee358d694ab7e1f1e4625c35fd6a /config.h
parent18a3bfdb765bfe9f72d8eb62bc7505e896a4e6f2 (diff)
downloaddmenu-07013dd52c04158e8dc640d6209a8372a110fda0.tar.gz
dmenu-07013dd52c04158e8dc640d6209a8372a110fda0.tar.bz2
dmenu-07013dd52c04158e8dc640d6209a8372a110fda0.zip
update
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9a79dfc..9805f2f 100644
--- a/config.h
+++ b/config.h
@@ -5,6 +5,7 @@ static int topbar = 1; /* -b option; if 0, dmenu appears a
static int centered = 0; /* -c option; centers dmenu on screen */
static int min_width = 500; /* minimum width when centered */
static const float menu_height_ratio = 3.0f; /* This is the ratio used in the original calculation */
+static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
/* -fn option overrides fonts[0]; default X11 font or font set */
static char *fonts[] = {
@@ -16,6 +17,8 @@ static void *colors[SchemeLast][2] = {
/* fg bg */
[SchemeNorm] = { "#bbbbbb", "#222222" },
[SchemeSel] = { "#eeeeee", "#005577" },
+ [SchemeSelHighlight] = { "#ffc978", "#005577" },
+ [SchemeNormHighlight] = { "#ffc978", "#222222" },
[SchemeOut] = { "#000000", "#00ffff" },
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */