| 1 | static struct Config config = { |
| 2 | /* font, separate different fonts with comma */ |
| 3 | .font = "monospace:size=9,DejaVuSansMono:size=9", |
| 4 | |
| 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", |
| 12 | |
| 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 */ |
| 19 | |
| 20 | /* |
| 21 | * The variables below cannot be set by X resources. |
| 22 | * Their values must be less than .height_pixels. |
| 23 | */ |
| 24 | |
| 25 | /* geometry of the right-pointing isoceles triangle for submenus */ |
| 26 | .triangle_width = 3, |
| 27 | .triangle_height = 7, |
| 28 | |
| 29 | /* the icon size is equal to .height_pixels - .iconpadding * 2 */ |
| 30 | .iconpadding = 2, |
| 31 | |
| 32 | /* area around the icon, the triangle and the separator */ |
| 33 | .horzpadding = 8, |
| 34 | }; |
| 35 | |
| 36 | /* |
| 37 | * KEYBINDINGS |
| 38 | * |
| 39 | * Look at your /usr/include/X11/keysymdef.h (or the equivalent file |
| 40 | * in your system) for a list of key symbol constants, and change the |
| 41 | * macros below accordingly. All key symbol constants begin with the |
| 42 | * prefix XK_. |
| 43 | * |
| 44 | * For example, to use vim-like key bindings, set KEYSYMLEFT to XK_h, |
| 45 | * KEYSYMDOWN to XK_j, KEYSYMUP to XK_k, etc. |
| 46 | * |
| 47 | * Note that the regular keys like ArrowUp, ArrowDown, Tab, Home, etc |
| 48 | * will ALWAYS work, so you do not need to set them. |
| 49 | * |
| 50 | * If you do not want to set a key binding, keep it with the value of |
| 51 | * XK_VoidSymbol |
| 52 | */ |
| 53 | #define KSYMFIRST XK_VoidSymbol /* select first item */ |
| 54 | #define KSYMLAST XK_VoidSymbol /* select last item */ |
| 55 | #define KSYMUP XK_VoidSymbol /* select previous item */ |
| 56 | #define KSYMDOWN XK_VoidSymbol /* select next item */ |
| 57 | #define KSYMLEFT XK_VoidSymbol /* close current menu */ |
| 58 | #define KSYMRIGHT XK_VoidSymbol /* enter selected item */ |