mew

dmenu for wayland
git clone https://git.awy.one/mew
Log | Files | Refs | README | LICENSE

config.def.h (2100B) - View raw


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */

static int top                       = 1;                       /* -b option; if 0, appear at bottom */
static int centered                  = 0;                       /* -c option; centers mew on screen */
static int min_width                 = 300;                     /* minimum width when centered */
static const float menu_height_ratio = 4.0f;                    /* This is the ratio used in the original calculation */
static const char *fonts[]           = { "monospace:size=12" }; /* -f option overrides fonts[0] */
static const char *prompt            = NULL;                    /* -p option; prompt to the left of input field */

/*               fg         bg          */
/* NORD */
/* static uint32_t colors[][2] = {
	[SchemeNorm] = { 0xd8dee9ff, 0x2e3440ff},
	[SchemeSel]  = { 0xd8dee9ff, 0x5e81acff },
	[SchemeOut]  = { 0x000000ff, 0x00ffffff },
}; */

/* DEFAULT */
/* static uint32_t colors[][2] = {
	[SchemeNorm] = { 0xbbbbbbff, 0x222222ff },
	[SchemeSel]  = { 0xeeeeeeff, 0x005577ff },
	[SchemeOut]  = { 0x000000ff, 0x00ffffff },
}; */

/* EVERFOREST */
/* static uint32_t colors[][2] = {
	[SchemeNorm] = { 0xd3c6aaff, 0x272e33ff},
	[SchemeSel]  = { 0x272e33ff, 0xd699b6ff },
	[SchemeOut]  = { 0x000000ff, 0x00ffffff },
}; */


/* CATPPUCCIN */
/* static uint32_t colors[][2] = {
	[SchemeNorm] = { 0xcdd6f4ff, 0x1e1e2eff },
	[SchemeSel]  = { 0x1e1e2eff, 0xf5c2e7ff },
	[SchemeOut]  = { 0x000000ff, 0x00ffffff },
}; */

/* GRUVBOX */
static uint32_t colors[][2] = {
	[SchemeNorm] = { 0xebdbb2ff, 0x282828ff},
	[SchemeSel]  = { 0x282828ff, 0xfabd2fff },
	[SchemeOut]  = { 0x000000ff, 0x00ffffff },
};

/* -m option; if provided, use that output instead of default output */
static const char *output_name = NULL;

/* -l option; if nonzero, use 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[] = " ";