aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkj-sh6042024-08-09 05:47:23 -0400
committerkj-sh6042024-08-09 05:47:23 -0400
commitde06a24bb15c5ec3a08c9ce437a6489471e6997a (patch)
tree433697c9df4556c351a4348881f720a9c61024ed
parent2bb0567db1050c8f11e3a4032a8431baa77c1efb (diff)
refactor: make `dmenu-center` patch actually center the menu
-rw-r--r--.local/src/dmenu-dunst/config.def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/src/dmenu-dunst/config.def.h b/.local/src/dmenu-dunst/config.def.h
index 696cdc2..c8d6666 100644
--- a/.local/src/dmenu-dunst/config.def.h
+++ b/.local/src/dmenu-dunst/config.def.h
@@ -3,8 +3,8 @@
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 = 500; /* minimum width when centered */
-static const float menu_height_ratio = 4.0f; /* This is the ratio used in the original calculation */
+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 */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"JetBrains Mono:size=14",