summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-21 13:48:38 -0600
committerzachir <zachir@librem.one>2023-02-21 13:48:38 -0600
commit59fbcc368693d01182e41ec8f397b9e47325cd8c (patch)
tree108cef8fb94eca02ee0a5e768bd5f1ae86daec7e /config.def.h
parentaddad8d7671563820a8a10cb181e1034d1891678 (diff)
add center patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
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"