From 37b844b5e7a280dbf82fa90ed7be61af5c3b377b Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Fri, 9 Aug 2024 06:06:45 -0400 Subject: refactor: use an "integer" for `menu_height_ratio` --- .local/src/dmenu-dunst/config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/src') diff --git a/.local/src/dmenu-dunst/config.def.h b/.local/src/dmenu-dunst/config.def.h index c8d6666..338089b 100644 --- a/.local/src/dmenu-dunst/config.def.h +++ b/.local/src/dmenu-dunst/config.def.h @@ -4,7 +4,7 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int centered = 1; /* -c option; centers dmenu on screen */ static int min_width = 250; /* minimum width when centered */ -static const float menu_height_ratio = 2.25f; /* This is the ratio used in the original calculation */ +static const float menu_height_ratio = 2.0f; /* This is the ratio used in the original calculation */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { "JetBrains Mono:size=14", -- cgit v1.2.3