diff options
author | bacalhau <bacalhau@based.pt> | 2025-06-08 15:55:29 +0100 |
---|---|---|
committer | bacalhau <bacalhau@based.pt> | 2025-06-08 15:55:29 +0100 |
commit | a3f76f49addeecb6138ee2ae1d089c60d2df04a7 (patch) | |
tree | 9b5ea1d3ef854d19f8239967c21d728edb27a397 /dmenu/config.h | |
parent | 3ab7348ee95f2918cb9ae299290a812252663923 (diff) |
Diffstat (limited to 'dmenu/config.h')
-rw-r--r-- | dmenu/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dmenu/config.h b/dmenu/config.h new file mode 100644 index 0000000..4ed1276 --- /dev/null +++ b/dmenu/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[] = { + "CozetteCrossedSevenVector:pixelsize=13" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#ebdbb2", "#1d2021" }, + [SchemeSel] = { "#1d2021", "#ebdbb2" }, + [SchemeOut] = { "#ebdbb2", "#1d2021" }, +}; +/* -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[] = " "; |