8902c43b |
1 | static struct Config config = { |
cdeaefaa |
2 | /* font, separate different fonts with comma */ |
3 | .font = "monospace:size=9,DejaVuSansMono:size=9", |
fd530f3f |
4 | |
8902c43b |
5 | /* colors */ |
6 | .background_color = "#FFFFFF", |
7 | .foreground_color = "#2E3436", |
8 | .selbackground_color = "#3584E4", |
9 | .selforeground_color = "#FFFFFF", |
10 | .separator_color = "#CDC7C2", |
11 | .border_color = "#E6E6E6", |
fd530f3f |
12 | |
8902c43b |
13 | /* sizes in pixels */ |
14 | .width_pixels = 130, /* minimum width of a menu */ |
15 | .height_pixels = 25, /* height of a single menu item */ |
16 | .border_pixels = 1, /* menu border */ |
17 | .separator_pixels = 3, /* space around separator */ |
18 | .gap_pixels = 0, /* gap between menus */ |
fd530f3f |
19 | |
27c03246 |
20 | /* text alignment, set to LeftAlignment, CenterAlignment or RightAlignment */ |
21 | .alignment = LeftAlignment, |
22 | |
71b4db92 |
23 | /* |
24 | * The variables below cannot be set by X resources. |
25 | * Their values must be less than .height_pixels. |
26 | */ |
685ca30d |
27 | |
8902c43b |
28 | /* geometry of the right-pointing isoceles triangle for submenus */ |
29 | .triangle_width = 3, |
30 | .triangle_height = 7, |
685ca30d |
31 | |
71b4db92 |
32 | /* the icon size is equal to .height_pixels - .iconpadding * 2 */ |
33 | .iconpadding = 2, |
34 | |
35 | /* area around the icon, the triangle and the separator */ |
36 | .horzpadding = 8, |
28f784a7 |
37 | |
38 | /* if nonzero, enable type-to-select feature, can be togglet with -t */ |
39 | .typetoselect = 0 |
8902c43b |
40 | }; |
7b166488 |
41 | |
42 | /* |
43 | * KEYBINDINGS |
44 | * |
45 | * Look at your /usr/include/X11/keysymdef.h (or the equivalent file |
46 | * in your system) for a list of key symbol constants, and change the |
1b566a90 |
47 | * macros below accordingly. All key symbol constants begin with the |
48 | * prefix XK_. |
7b166488 |
49 | * |
50 | * For example, to use vim-like key bindings, set KEYSYMLEFT to XK_h, |
51 | * KEYSYMDOWN to XK_j, KEYSYMUP to XK_k, etc. |
52 | * |
53 | * Note that the regular keys like ArrowUp, ArrowDown, Tab, Home, etc |
54 | * will ALWAYS work, so you do not need to set them. |
55 | * |
56 | * If you do not want to set a key binding, keep it with the value of |
57 | * XK_VoidSymbol |
58 | */ |
59 | #define KSYMFIRST XK_VoidSymbol /* select first item */ |
60 | #define KSYMLAST XK_VoidSymbol /* select last item */ |
61 | #define KSYMUP XK_VoidSymbol /* select previous item */ |
62 | #define KSYMDOWN XK_VoidSymbol /* select next item */ |
63 | #define KSYMLEFT XK_VoidSymbol /* close current menu */ |
64 | #define KSYMRIGHT XK_VoidSymbol /* enter selected item */ |