projects
/
xmenu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improving error messages for icon loading
[xmenu]
/
config.h
diff --git
a/config.h
b/config.h
index
27e9c11
..
aec217e
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-1,6
+1,6
@@
static struct Config config = {
static struct Config config = {
- /* font */
- .font = "monospace:size=9
", /* for regular items */
+ /* font
, separate different fonts with comma
*/
+ .font = "monospace:size=9
,DejaVuSansMono:size=9",
/* colors */
.background_color = "#FFFFFF",
/* colors */
.background_color = "#FFFFFF",
@@
-17,12
+17,18
@@
static struct Config config = {
.separator_pixels = 3, /* space around separator */
.gap_pixels = 0, /* gap between menus */
.separator_pixels = 3, /* space around separator */
.gap_pixels = 0, /* gap between menus */
- /* the variables below cannot be set by X resources */
+ /*
+ * 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,
/* geometry of the right-pointing isoceles triangle for submenus */
.triangle_width = 3,
.triangle_height = 7,
- /* padding of the area around the icon */
- .iconpadding = 4,
+ /* the icon size is equal to .height_pixels - .iconpadding * 2 */
+ .iconpadding = 2,
+
+ /* area around the icon, the triangle and the separator */
+ .horzpadding = 8,
};
};