mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Render i3bar blocks
This commit is contained in:
parent
ee85c91831
commit
333dbcbe72
7 changed files with 314 additions and 34 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue