Optionally change i3bar color on focused output, implements #2020
This commit is contained in:
@ -38,6 +38,12 @@ void init_outputs(void);
|
||||
*/
|
||||
i3_output* get_output_by_name(char* name);
|
||||
|
||||
/*
|
||||
* Returns true if the output has the currently focused workspace
|
||||
*
|
||||
*/
|
||||
bool output_has_focus(i3_output* output);
|
||||
|
||||
struct i3_output {
|
||||
char* name; /* Name of the output */
|
||||
bool active; /* If the output is active */
|
||||
|
@ -34,6 +34,9 @@ struct xcb_color_strings_t {
|
||||
char *bar_fg;
|
||||
char *bar_bg;
|
||||
char *sep_fg;
|
||||
char *focus_bar_fg;
|
||||
char *focus_bar_bg;
|
||||
char *focus_sep_fg;
|
||||
char *active_ws_fg;
|
||||
char *active_ws_bg;
|
||||
char *active_ws_border;
|
||||
|
Reference in New Issue
Block a user