diff options
author | D.B <thejan.2009@gmail.com> | 2016-11-02 18:48:43 +0100 |
---|---|---|
committer | D.B <thejan.2009@gmail.com> | 2016-11-02 18:58:33 +0100 |
commit | ad4d21d60b36ba39e2090fa052a29bf7ea8a3395 (patch) | |
tree | 84cb01165960555dbc64cd8aa57137b43ff65655 /include/swaybar/bar.h | |
parent | 39ee0ec552c05c7ab5031982a1104a0bae1910d3 (diff) |
add bar colours for focused_(workspace|statusline|separator)
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
Diffstat (limited to 'include/swaybar/bar.h')
-rw-r--r-- | include/swaybar/bar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h index a3c511d9..697a48c2 100644 --- a/include/swaybar/bar.h +++ b/include/swaybar/bar.h @@ -9,6 +9,7 @@ struct bar { struct config *config; struct status_line *status; list_t *outputs; + struct output *focused_output; int ipc_event_socketfd; int ipc_socketfd; @@ -22,6 +23,7 @@ struct output { list_t *workspaces; char *name; int idx; + bool focused; }; struct workspace { |