Add default setting for bar_bottom in config.h

This commit is contained in:
Georg Reinke 2012-08-17 13:32:48 +02:00
parent 2b9ca04290
commit 06d2db7c78
2 changed files with 3 additions and 1 deletions

2
bar.c
View File

@ -43,7 +43,7 @@ static xcb_gcontext_t draw_gc;
static xcb_gcontext_t clear_gc;
static xcb_gcontext_t underl_gc;
static int bar_width;
static int bar_bottom;
static int bar_bottom = BAR_BOTTOM;
static fontset_item_t fontset[FONT_MAX];
static fontset_item_t *sel_font = &fontset[FONT_MAIN];

View File

@ -2,6 +2,8 @@
#define BAR_HEIGHT 18
/* The thickness of the underline (in pixels) */
#define BAR_UNDERLINE_HEIGHT 2
/* Default bar position, overwritten by '-b' switch */
#define BAR_BOTTOM 0
/* The font used for the bar */
#define BAR_MAIN_FONT "-*-terminus-medium-r-normal-*-12-*-*-*-c-*-*-1"
#define BAR_FALLBACK_FONT "fixed"