diff options
author | 2018-04-07 14:51:10 -0700 | |
---|---|---|
committer | 2018-04-07 14:51:10 -0700 | |
commit | adfcb8e99602d8c720e8e8af3151d71e3ad0bb28 (patch) | |
tree | 0151296fb3e40141c97112146cd2817cd9180f92 /config.h | |
download | dmenu-adfcb8e99602d8c720e8e8af3151d71e3ad0bb28.tar.gz |
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..ddf9fc5 --- /dev/null +++ b/config.h @@ -0,0 +1,23 @@ +/* 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 */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "monospace:size=16" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#268bd2", "#000000" }, + [SchemeSel] = { "#000000", "#268bd2" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; |