rice/dmenu/config.h

33 lines
1.3 KiB
C
Raw Normal View History

2021-02-28 11:37:24 +02:00
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
2021-03-11 00:07:19 +02:00
// gruvbox
static const char col_gruvbox0_hard[] = "#1d2021"; // Background (black)
static const char col_gruvbox0_medium[] = "#282828";
static const char col_gruvbox0_soft[] = "#32302f";
2021-02-28 11:37:24 +02:00
2021-03-11 00:07:19 +02:00
static const char col_gruvbox7[] = "#a89984"; // White
static const char col_gruvbox8[] = "#928374";
static const char col_gruvbox15[] = "#ebdbb2"; // White
2021-02-28 11:37:24 +02:00
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[] = {
2021-03-11 00:07:19 +02:00
"monospace:size=10"
2021-02-28 11:37:24 +02:00
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
2021-03-11 00:07:19 +02:00
[SchemeNorm] = { col_gruvbox7, col_gruvbox0_hard },
[SchemeSel] = { col_gruvbox15, col_gruvbox0_medium },
2021-02-28 11:37:24 +02:00
[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[] = " ";