Add docs for empty workspaces in swaybar

This commit is contained in:
Marko 2023-06-09 20:56:54 +02:00
parent 71f9f2d9d8
commit 409bc681ff
2 changed files with 16 additions and 0 deletions

View file

@ -222,6 +222,10 @@ must be defined in hex: _#RRGGBB_ or _#RRGGBBAA_.
Border, background and text color for a workspace button when the workspace
contains a window with the urgency hint set.
*empty_workspace* <border> <background> <text>
Border, background and text color for a workspace button when the workspace
contains no windows and is not active.
*binding_mode* <border> <background> <text>
Border, background and text color for the binding mode indicator. If not used,
the colors will be taken from _urgent_workspace_.

View file

@ -918,6 +918,15 @@ containing the _#RRGGBBAA_ representation of the color:
|- urgent_workspace_border
: The color to use for the border of the workspace buttons for workspaces that
contain an urgent view
|- empty_workspace_text
: The color to use for the text of the workspace buttons for workspaces that
are empty
|- empty_workspace_bg
: The color to use for the background of the workspace buttons for workspaces
that are empty
|- empty_workspace_border
: The color to use for the border of the workspace buttons for workspaces that
are empty
|- binding_mode_text
: The color to use for the text of the binding mode indicator
|- binding_mode_bg
@ -967,6 +976,9 @@ containing the _#RRGGBBAA_ representation of the color:
"urgent_workspace_border": "#2f343aff",
"urgent_workspace_bg": "#900000ff",
"urgent_workspace_text": "#ffffffff",
"empty_workspace_border": "#000000ff",
"empty_workspace_bg": "#000000ff",
"empty_workspace_text": "#666666ff",
"binding_mode_border": "#2f343aff",
"binding_mode_bg": "#900000ff",
"binding_mode_text": "#ffffffff"