diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-09-05 14:50:04 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-09-05 14:50:04 +0400 |
commit | 5d343d4302b4e61fa496f03b48521fdd678d2c18 (patch) | |
tree | 4e6e938119d050a908267483ff3ecc4bd1466805 /config.h | |
parent | b546ddc768b4f0e63dac945bed0180137d91c2c2 (diff) |
directory layout changed
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..b30dcef --- /dev/null +++ b/config.h @@ -0,0 +1,28 @@ +/* See LICENSE file for copyright and license details. */ +/* 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 */ +static const float menu_height_ratio = 4.0f; /* This is the ratio used in the original calculation */ +static unsigned int border_width = 0; +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "monospace:size=10" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#bbbbbb", "#222222" }, + [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; +static unsigned int columns = 0; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; |