mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
Implement empty workspaces in swaybar
This commit is contained in:
parent
d3ac856688
commit
173c918e43
10 changed files with 44 additions and 0 deletions
|
|
@ -623,6 +623,8 @@ static uint32_t render_workspace_button(struct render_context *ctx,
|
|||
box_colors = config->colors.focused_workspace;
|
||||
} else if (ws->visible) {
|
||||
box_colors = config->colors.active_workspace;
|
||||
} else if (ws->empty) {
|
||||
box_colors = config->colors.empty_workspace;
|
||||
} else {
|
||||
box_colors = config->colors.inactive_workspace;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue