diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-08-05 18:33:56 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-08-05 18:33:56 +0400 |
commit | 47f49d5ac508fd93ce5fdf5bc31db1c3e8488333 (patch) | |
tree | d69c84001b5a9864dc4f4dc3299a01500501b518 /config.h | |
parent | 5fa8857aa8dd86d1703c469791554c071ff95b8c (diff) |
config.def.h moved to config.h
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..fbf5522 --- /dev/null +++ b/config.h @@ -0,0 +1,27 @@ +/* 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 */ +/* -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[] = " "; |