aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-07-09 00:42:03 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-07-09 00:42:03 +0200
commit1e4377f4df2e00a08ddb385350e3ad4974371529 (patch)
treecdf54a108884b4c6627ac7e382b5568113503e06
parenteef8291a857c9ecb41befcf9ccf2bc7275306eab (diff)
downloadconfigs-1e4377f4df2e00a08ddb385350e3ad4974371529.tar.gz
configs-1e4377f4df2e00a08ddb385350e3ad4974371529.zip
Options for centered and bordered dmenu.
-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;