2020-06-29 17:20:37 +02:00
|
|
|
static struct Config config = {
|
2020-07-29 05:51:08 +02:00
|
|
|
/* font, separate different fonts with comma */
|
|
|
|
.font = "monospace:size=9,DejaVuSansMono:size=9",
|
2020-05-26 23:43:45 +02:00
|
|
|
|
2020-06-29 17:20:37 +02:00
|
|
|
/* colors */
|
|
|
|
.background_color = "#FFFFFF",
|
|
|
|
.foreground_color = "#2E3436",
|
|
|
|
.selbackground_color = "#3584E4",
|
|
|
|
.selforeground_color = "#FFFFFF",
|
|
|
|
.separator_color = "#CDC7C2",
|
|
|
|
.border_color = "#E6E6E6",
|
2020-05-26 23:43:45 +02:00
|
|
|
|
2020-06-29 17:20:37 +02:00
|
|
|
/* 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 */
|
2020-05-26 23:43:45 +02:00
|
|
|
|
2020-07-16 03:57:59 +02:00
|
|
|
/*
|
|
|
|
* The variables below cannot be set by X resources.
|
|
|
|
* Their values must be less than .height_pixels.
|
|
|
|
*/
|
2020-06-12 16:37:13 +02:00
|
|
|
|
2020-06-29 17:20:37 +02:00
|
|
|
/* geometry of the right-pointing isoceles triangle for submenus */
|
|
|
|
.triangle_width = 3,
|
|
|
|
.triangle_height = 7,
|
2020-06-12 16:37:13 +02:00
|
|
|
|
2020-07-16 03:57:59 +02:00
|
|
|
/* the icon size is equal to .height_pixels - .iconpadding * 2 */
|
|
|
|
.iconpadding = 2,
|
|
|
|
|
|
|
|
/* area around the icon, the triangle and the separator */
|
|
|
|
.horzpadding = 8,
|
2020-06-29 17:20:37 +02:00
|
|
|
};
|
2020-09-17 03:06:12 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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. Note there IS NO equal sign (=) between
|
|
|
|
* the macros and their values. 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 */
|