aboutsummaryrefslogtreecommitdiff
path: root/files/dmenu/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'files/dmenu/config.h')
-rw-r--r--files/dmenu/config.h5
1 files changed, 5 insertions, 0 deletions
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;