aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorNikita Langer <nikitalanger@icloud.com>2026-07-13 18:48:05 +0200
committerNikita Langer <nikitalanger@icloud.com>2026-07-13 18:48:05 +0200
commit9e4d85298b8006919b093e67ff0ec6cc18ea93d7 (patch)
tree26f8a7a9d8b86ea754d0b9f95b439a6a289bf730 /config.def.h
parent25bdca748a152441a0e4d7b1aee84d5edb3aac61 (diff)
downloaddmenu-9e4d85298b8006919b093e67ff0ec6cc18ea93d7.tar.gz
dmenu-9e4d85298b8006919b093e67ff0ec6cc18ea93d7.tar.bz2
dmenu-9e4d85298b8006919b093e67ff0ec6cc18ea93d7.tar.xz
dmenu-9e4d85298b8006919b093e67ff0ec6cc18ea93d7.zip
dmenu padding wie dmw-bar-patchHEADmaster
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 4 insertions, 2 deletions
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";