Repository navigation
Expand file tree
/
Copy pathconfig.h
More file actions
69 lines (50 loc) · 2.08 KB
/
Copy pathconfig.h
File metadata and controls
69 lines (50 loc) · 2.08 KB
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
59
60
61
62
63
64
65
66
67
68
69
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line or configuration file */
/* configuration file location, subdirectory of XDG_CONFIG_HOME or HOME */
static const char* dmenu_cfg = "/dmenu/dmenu.toml";
/* -ix option; if 1 dmenu will print the index instead of the item */
static int print_index = 0;
/* -i option; if 0, dmenu doesn't show caret & input box */
static int input = 1;
/* -F option; if 0, dmenu doesn't use fuzzy matching */
static int fuzzy = 0;
/* -M option; if 0, dmenu doesn't allow for multi selection */
static int multiselect = 0;
/* Minimum width of the window */
static int min_width = 500;
/* up/down padding on line-items */
static int item_height = 5;
/* -n option; if 1 show number of matches over the number of items */
static int show_numbers = 0;
/* Window border */
static int border_width = 1;
/* Padding (inner) between border and content */
static int border_padding = 10;
/* Margin (outer) between border and content */
static int border_margin = 25;
/* amount of pixel between the prompt and other list items */
static int prompt_offset = 10;
/* Amount of opacity. 0xff is opaque */
static int alpha = 0xcc;
/* -fn option overrides fonts; default X11 font or font set */
static const char *fonts[4] = { NULL };
/* -p option; prompt to the left of input field */
static const char *prompt = NULL;
/* dmenu uses vertical list with given number of lines */
static int lines = 15;
/* character that will be used to hide text when the -P option is specified */
static const char *censor_char = NULL;
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char *worddelimiters = NULL;
static char *colors[SchemeLast][2];
static const char *default_colors[SchemeLast][2] = {
[SchemeNorm] = { "#bbbbbb", "#000000" },
[SchemeSel] = { "#000000", "#81a2be" },
[SchemeSelHighlight] = { "#ffffff", "#81a2be" },
[SchemeNormHighlight] = { "#ffffff", "#000000" },
[SchemeOut] = { "#ffffff", "#000000" },
[SchemeBorder] = { "#ffffff", "#ffffff" }
};