-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.h
62 lines (54 loc) · 2.22 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
51
52
53
54
55
56
57
58
59
60
61
62
static struct Config config = {
/* font, separate different fonts with comma */
.font = "SauceCodePro Nerd Font:size=12,monospace:size=10,DejaVuSansMono:size=10",
/* colors */
.background_color = "#282a36",
.foreground_color = "#f8f8f2",
.selbackground_color = "#44475a",
.selforeground_color = "#8be9fd",
.separator_color = "#ffb86c",
.border_color = "#bd93f9",
/* sizes in pixels */
.width_pixels = 130, /* minimum width of a menu */
.height_pixels = 25, /* height of a single menu item */
.border_pixels = 1, /* menu border */
.separator_pixels = 3, /* space around separator */
.gap_pixels = 0, /* gap between menus */
.max_items = 10, /* maximum number of items of a menu, 0 to compute based on monitor height */
/* text alignment, set to LeftAlignment, CenterAlignment or RightAlignment */
.alignment = LeftAlignment,
/*
* The variables below cannot be set by X resources.
* Their values must be less than .height_pixels.
*/
/* geometry of the right-pointing isoceles triangle for submenus */
.triangle_width = 3,
.triangle_height = 7,
/* the icon size is equal to .height_pixels - .iconpadding * 2 */
.iconpadding = 2,
/* area around the icon, the triangle and the separator */
.horzpadding = 8,
};
/*
* KEYBINDINGS
*
* Look at your /usr/include/X11/keysymdef.h (or the equivalent file
* in your system) for a list of key symbol constants, and change the
* macros below accordingly. All key symbol constants begin with the
* prefix XK_.
*
* For example, to use vim-like key bindings, set KEYSYMLEFT to XK_h,
* KEYSYMDOWN to XK_j, KEYSYMUP to XK_k, etc.
*
* Note that the regular keys like ArrowUp, ArrowDown, Tab, Home, etc
* will ALWAYS work, so you do not need to set them.
*
* If you do not want to set a key binding, keep it with the value of
* XK_VoidSymbol
*/
#define KSYMFIRST XK_VoidSymbol /* select first item */
#define KSYMLAST XK_VoidSymbol /* select last item */
#define KSYMUP XK_VoidSymbol /* select previous item */
#define KSYMDOWN XK_VoidSymbol /* select next item */
#define KSYMLEFT XK_VoidSymbol /* close current menu */
#define KSYMRIGHT XK_VoidSymbol /* enter selected item */