diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-09 19:03:08 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-09 19:03:08 +0200 |
commit | ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48 (patch) | |
tree | 1045f8763abd582e4877e0347a79c15b996b9458 /config.def.h | |
parent | .gitignore update (diff) | |
download | dmenu-ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48.tar.gz dmenu-ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48.tar.bz2 dmenu-ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48.tar.xz dmenu-ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48.tar.zst dmenu-ebc6c3de2baccf527b12d8b2bb1fe7de8ecddf48.zip |
Added border and center patches
Diffstat (limited to '')
-rw-r--r-- | config.def.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 1edb647..aea2c94 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" @@ -21,3 +23,6 @@ static unsigned int lines = 0; * for example: " /?\"&[]" */ static const char worddelimiters[] = " "; + +/* Size of the window border */ +static const unsigned int border_width = 2; |