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 */ |
523b3d5e |
19 | .max_items = 0, /* maximum number of items of a menu, 0 to compute based on monitor height */ |
fd530f3f |
20 | |
27c03246 |
21 | /* text alignment, set to LeftAlignment, CenterAlignment or RightAlignment */ |
22 | .alignment = LeftAlignment, |
23 | |
71b4db92 |
24 | /* |
25 | * The variables below cannot be set by X resources. |
26 | * Their values must be less than .height_pixels. |
27 | */ |
685ca30d |
28 | |
8902c43b |
29 | /* geometry of the right-pointing isoceles triangle for submenus */ |
30 | .triangle_width = 3, |
31 | .triangle_height = 7, |
685ca30d |
32 | |
71b4db92 |
33 | /* the icon size is equal to .height_pixels - .iconpadding * 2 */ |
34 | .iconpadding = 2, |
35 | |
36 | /* area around the icon, the triangle and the separator */ |
37 | .horzpadding = 8, |
8902c43b |
38 | }; |
7b166488 |
39 | |
40 | /* |
41 | * KEYBINDINGS |
42 | * |
43 | * Look at your /usr/include/X11/keysymdef.h (or the equivalent file |
44 | * in your system) for a list of key symbol constants, and change the |
1b566a90 |
45 | * macros below accordingly. All key symbol constants begin with the |
46 | * prefix XK_. |
7b166488 |
47 | * |
48 | * For example, to use vim-like key bindings, set KEYSYMLEFT to XK_h, |
49 | * KEYSYMDOWN to XK_j, KEYSYMUP to XK_k, etc. |
50 | * |
51 | * Note that the regular keys like ArrowUp, ArrowDown, Tab, Home, etc |
52 | * will ALWAYS work, so you do not need to set them. |
53 | * |
54 | * If you do not want to set a key binding, keep it with the value of |
55 | * XK_VoidSymbol |
56 | */ |
57 | #define KSYMFIRST XK_VoidSymbol /* select first item */ |
58 | #define KSYMLAST XK_VoidSymbol /* select last item */ |
59 | #define KSYMUP XK_VoidSymbol /* select previous item */ |
60 | #define KSYMDOWN XK_VoidSymbol /* select next item */ |
61 | #define KSYMLEFT XK_VoidSymbol /* close current menu */ |
62 | #define KSYMRIGHT XK_VoidSymbol /* enter selected item */ |