From 59fbcc368693d01182e41ec8f397b9e47325cd8c Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 21 Feb 2023 13:48:38 -0600 Subject: add center patch --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index dd3eb31..cfff3e4 100644 --- a/config.def.h +++ b/config.def.h @@ -2,6 +2,8 @@ /* Default settings; can be overriden by command line. */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +static int centered = 0; /* -c option; centers dmenu on screen */ +static int min_width = 500; /* minimum width when centered */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { "monospace:size=10" -- cgit v1.2.3