summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-05 18:15:13 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-05 18:15:13 +0400
commit2479505dc49f3b6ec98fad2c918c16beb72b87df (patch)
tree588413481e86c21eae6daebcb1089412e44a15f0 /config.def.h
parent00de4af7a3a04646d846c934f72fe423405c6169 (diff)
center patched
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 1edb647..832896f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,9 @@
/* Default settings; can be overriden by command line. */
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+static int centered = 1; /* -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 */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"monospace:size=10"