From 1e4377f4df2e00a08ddb385350e3ad4974371529 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 9 Jul 2020 00:42:03 +0200 Subject: Options for centered and bordered dmenu. --- files/dmenu/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/dmenu/config.h b/files/dmenu/config.h index ea9b861..c7c17f2 100644 --- a/files/dmenu/config.h +++ b/files/dmenu/config.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 = 800; /* minimum width when centered */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { "mononoki:size=14", @@ -22,3 +24,6 @@ static unsigned int lines = 0; * for example: " /?\"&[]" */ static const char worddelimiters[] = " "; + +/* Size of the window border */ +static unsigned int border_width = 0; -- cgit v1.2.1