Implement empty workspaces in swaybar

This commit is contained in:
Marko 2023-06-09 20:16:39 +02:00
parent d3ac856688
commit 173c918e43
10 changed files with 44 additions and 0 deletions

View file

@ -86,6 +86,7 @@ struct swaybar_workspace {
bool focused;
bool visible;
bool urgent;
bool empty;
};
bool bar_setup(struct swaybar *bar, const char *socket_path);

View file

@ -65,6 +65,7 @@ struct swaybar_config {
struct box_colors active_workspace;
struct box_colors inactive_workspace;
struct box_colors urgent_workspace;
struct box_colors empty_workspace;
struct box_colors binding_mode;
} colors;