diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-11-03 08:32:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-03 08:32:10 -0600 |
commit | e9ac0492b7ec55d34d9209f2ff3e08de5c014d65 (patch) | |
tree | ee822e5e219275c84446709c349de630d7441055 /include/swaybar | |
parent | d3e55f88ecaacf7c7017357e83f30f91ffc02bb0 (diff) | |
parent | 3d1b472b8312ec212b82b9a5c34af40272e9d995 (diff) | |
download | sway-e9ac0492b7ec55d34d9209f2ff3e08de5c014d65.tar.xz |
Merge pull request #965 from thejan2009/swaybar-colours
Fix some colour settings in swaybar
Diffstat (limited to 'include/swaybar')
-rw-r--r-- | include/swaybar/bar.h | 2 | ||||
-rw-r--r-- | include/swaybar/config.h | 4 |
2 files changed, 6 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 { diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 934116ca..04b12cd4 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h @@ -40,6 +40,10 @@ struct config { uint32_t statusline; uint32_t separator; + uint32_t focused_background; + uint32_t focused_statusline; + uint32_t focused_separator; + struct box_colors focused_workspace; struct box_colors active_workspace; struct box_colors inactive_workspace; |