diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 19:34:38 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 19:34:38 -0500 |
| commit | 6e9707811eb3706998ff51d6c923a6ec41908189 (patch) | |
| tree | 4a54d6b6bb072530f3e0c7230096cca3d6b6be8d /config.def.h | |
| parent | 7a903cc9e33a0e33629d09de8c5bdba660b2334e (diff) | |
| download | dmenu-6e9707811eb3706998ff51d6c923a6ec41908189.tar.gz | |
Applied center patch
https://tools.suckless.org/dmenu/patches/center/
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
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" |