Add support for bar_fg and bar_bg
This commit is contained in:
parent
127c082e83
commit
23b62f621d
|
@ -520,7 +520,7 @@ void init_xcb(char *fontname) {
|
|||
uint32_t mask = XCB_GC_FOREGROUND |
|
||||
XCB_GC_BACKGROUND |
|
||||
XCB_GC_FONT;
|
||||
uint32_t vals[3] = { xcb_screen->white_pixel, xcb_screen->black_pixel, xcb_font };
|
||||
uint32_t vals[3] = { colors.bar_fg, colors.bar_bg, xcb_font };
|
||||
|
||||
xcb_void_cookie_t sl_ctx_cookie = xcb_create_gc_checked(xcb_connection,
|
||||
statusline_ctx,
|
||||
|
@ -652,7 +652,7 @@ void reconfig_windows() {
|
|||
walk->buffer = xcb_generate_id(xcb_connection);
|
||||
mask = XCB_CW_BACK_PIXEL | XCB_CW_OVERRIDE_REDIRECT | XCB_CW_EVENT_MASK;
|
||||
/* Black background */
|
||||
values[0] = xcb_screen->black_pixel;
|
||||
values[0] = colors.bar_bg;
|
||||
/* If hide_on_modifier is set, i3 is not supposed to manage our bar-windows */
|
||||
values[1] = config.hide_on_modifier;
|
||||
/* The events we want to receive */
|
||||
|
|
Loading…
Reference in New Issue