diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-30 00:03:57 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-10-30 00:03:57 -0400 |
| commit | 155e49c63e8ef712413be4280ae5cc74eb4cf8be (patch) | |
| tree | 7f59d58b15f39949d268e407d281e4db7131c975 /config.h | |
| parent | 34ffa30edc8ae60e83c538c5d8809d1981e5a9e5 (diff) | |
| download | dmenu-155e49c63e8ef712413be4280ae5cc74eb4cf8be.tar.gz dmenu-155e49c63e8ef712413be4280ae5cc74eb4cf8be.tar.xz | |
Colors for demodemo
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..71ada42 --- /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[] = { + "scientifica:style=Bold:pixelsize=10:antialias=false:autohint=false" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#eeeff4", "#3b4252" }, + [SchemeSel] = { "#eceff4", "#5e81ac" }, + [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[] = " "; |
