Optionally change i3bar color on focused output, implements #2020

This commit is contained in:
David Simon
2015-10-26 16:55:01 -04:00
parent 2451551f63
commit dc05d905c1
13 changed files with 99 additions and 12 deletions

View File

@ -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 */