diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-31 14:39:18 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-02 11:09:23 -0400 |
commit | 333dbcbe72b6af95573e374b66ad6ab63f274299 (patch) | |
tree | b73facc5f8399ca6328898749941d5ae195dec8d /include/swaybar/status_line.h | |
parent | ee85c918317ec6a685a999db46f692c7d13cdf2a (diff) |
Render i3bar blocks
Diffstat (limited to 'include/swaybar/status_line.h')
-rw-r--r-- | include/swaybar/status_line.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/swaybar/status_line.h b/include/swaybar/status_line.h index 3b93e28f..038985a3 100644 --- a/include/swaybar/status_line.h +++ b/include/swaybar/status_line.h @@ -38,7 +38,7 @@ struct i3bar_block { struct wl_list link; char *full_text, *short_text, *align; bool urgent; - uint32_t color; + uint32_t *color; int min_width; char *name, *instance; bool separator; @@ -68,8 +68,8 @@ struct status_line { struct status_line *status_line_init(char *cmd); void status_line_free(struct status_line *status); -bool handle_status_readable(struct status_line *status); -int i3bar_readable(struct status_line *status); +bool status_handle_readable(struct status_line *status); +bool i3bar_handle_readable(struct status_line *status); void status_error(struct status_line *status, const char *text); #endif |