summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-29 18:07:03 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-10-29 18:07:03 +0530
commit5c474563c9f82e322b2ff23c2ed3f8250cb91ff2 (patch)
tree8d834f2e927b613409074f3d65cc8e109b041773 /config.def.h
parent722ca17501da98600d7be49b2856a4b37dfd65bf (diff)
applied center patch
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index bf9a338..28f5a89 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,8 @@
/* Default settings; can be overriden by command line. */
static int topbar = 0; /* -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[] = {
"Sauce Code Pro:size=11"
@@ -19,7 +21,7 @@ static const char *colors[SchemeLast][2] = {
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
-static unsigned int lines = 3;
+static unsigned int lines = 12;
/* -h option; minimum height of a menu line */
static unsigned int lineheight = 24;
static unsigned int min_lineheight = 24;