From 9e4d85298b8006919b093e67ff0ec6cc18ea93d7 Mon Sep 17 00:00:00 2001 From: Nikita Langer Date: Mon, 13 Jul 2026 18:48:05 +0200 Subject: dmenu padding wie dmw-bar-patch --- config.def.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 9beffbc..9673152 100644 --- a/config.def.h +++ b/config.def.h @@ -14,8 +14,10 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int draw_input = 1; /* -noi option; if 0, the input will not be drawn by default */ 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 = 4.0f; /* This is the ratio used in the original calculation */ + int vertpad = 0; /* vertical padding of bar */ + int sidepad = 0; /* horizontal padding of bar */ +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 const unsigned int alpha = 0xee; /* Amount of opacity. 0xff is opaque */ /* -fn option overrides fonts[0]; default X11 font or font set */ static char font[] = "JetBrains Mono Nerd Font Propo:size=10"; -- cgit