Some stylechanges to previous commit
This commit is contained in:
@ -10,8 +10,9 @@
|
||||
#define XCB_H_
|
||||
|
||||
#include <stdint.h>
|
||||
//#include "outputs.h"
|
||||
|
||||
struct colors_t {
|
||||
struct xcb_color_strings_t {
|
||||
char *bar_fg;
|
||||
char *bar_bg;
|
||||
char *active_ws_fg;
|
||||
@ -22,16 +23,7 @@ struct colors_t {
|
||||
char *urgent_ws_fg;
|
||||
};
|
||||
|
||||
struct parsed_colors_t {
|
||||
uint32_t bar_fg;
|
||||
uint32_t bar_bg;
|
||||
uint32_t active_ws_fg;
|
||||
uint32_t active_ws_bg;
|
||||
uint32_t inactive_ws_fg;
|
||||
uint32_t inactive_ws_bg;
|
||||
uint32_t urgent_ws_bg;
|
||||
uint32_t urgent_ws_fg;
|
||||
};
|
||||
typedef struct xcb_colors_t xcb_colors_t;
|
||||
|
||||
/*
|
||||
* Initialize xcb and use the specified fontname for text-rendering
|
||||
@ -43,7 +35,7 @@ void init_xcb();
|
||||
* Initialize the colors
|
||||
*
|
||||
*/
|
||||
void init_colors(const struct colors_t *colors);
|
||||
void init_colors(const struct xcb_color_strings_t *colors);
|
||||
|
||||
/*
|
||||
* Cleanup the xcb-stuff.
|
||||
|
Reference in New Issue
Block a user