-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
50 lines (44 loc) · 1.9 KB
/
config.h
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
/* 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 fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */
static int center = 1; /* -c option; if 0, dmenu won't be centered on the screen */
static int min_width = 500; /* minimum width when centered */
static const int vertpad = 0; /* vertical padding of bar */
static const int sidepad = 0; /* horizontal padding of bar */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"SF Pro Text:size=15",
"Fira Code:size=11",
"Noto Color Emoji:size=11",
"monospace:size=10"
};
static char *prompt = "🔍 Search:"; /* -p option; prompt to the left of input field */
#include "themes/tomorrow-night.h"
//static
//const
//char *colors[][2] = {
// /* fg bg */
// [SchemeNorm] = { "#bbbbbb", "#222222" },
// [SchemeSel] = { "#eeeeee", "#005577" },
// [SchemeOut] = { "#000000", "#00ffff" },
// [SchemeBorder] = { "#000000", "#ffffff" },
// [SchemeSelHighlight] = { "#ffc978", "#005577" },
// [SchemeNormHighlight] = { "#ffc978", "#222222" },
// [SchemeHp] = { "#bbbbbb", "#333333" },
//};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 10;
static unsigned int maxhist = 15;
static int histnodup = 1; /* if 0, record repeated histories */
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";
/* Size of the window border */
static unsigned int border_width = 2;
/*
* Use prefix matching by default; can be inverted with the -x flag.
*/
static int use_prefix = 1;