From 8fbb17f7c8dadb068ecf21de09080c5d9b076df5 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Wed, 1 Jun 2022 23:44:49 +0530 Subject: first commit --- config.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..ec9f458 --- /dev/null +++ b/config.h @@ -0,0 +1,36 @@ +/* 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[] = { + "Hack Nerd Font:size=10", + "Hack Nerd Font:pixelsize=10:antialias=true:autohint=true", + "emoji:size=10" // For rendering emojis +}; +static const unsigned int bgalpha = 0xe0; +static const unsigned int fgalpha = OPAQUE; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + + [SchemeNorm] = { "#a89984", "#282828" }, + [SchemeSel] = { "#282828", "#d3a256" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +static const unsigned int alphas[SchemeLast][2] = { + /* fgalpha bgalphga */ + [SchemeNorm] = { fgalpha, bgalpha }, + [SchemeSel] = { fgalpha, bgalpha }, + [SchemeOut] = { fgalpha, bgalpha }, +}; + +/* -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[] = " "; -- cgit v1.2.3