X-Git-Url: https://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/dddba407f43a5b9ef23e8a0ed387742a740e08f5..0bb241472bbe1e029f6045fc2c5596bceaf3818b:/config.h diff --git a/config.h b/config.h index 2dffcc7..aec217e 100644 --- a/config.h +++ b/config.h @@ -1,11 +1,34 @@ -#define FONT "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*" -#define UNPRESSEDBG "#FFFFFF" -#define UNPRESSEDFG "#2E3436" -#define PRESSEDBG "#3584E4" -#define PRESSEDFG "#FFFFFF" -#define DECORATIONBG "#CDC7C2" -#define DECORATIONFG "#E6E6E6" -#define ITEMW 130 -#define ITEMB 4 -#define BORDER 1 -#define SEPARATOR 1 +static struct Config config = { + /* font, separate different fonts with comma */ + .font = "monospace:size=9,DejaVuSansMono:size=9", + + /* colors */ + .background_color = "#FFFFFF", + .foreground_color = "#2E3436", + .selbackground_color = "#3584E4", + .selforeground_color = "#FFFFFF", + .separator_color = "#CDC7C2", + .border_color = "#E6E6E6", + + /* 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 */ + + /* + * 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, +};