From 409bc681ff41f25327045b380221a78cbb942ff5 Mon Sep 17 00:00:00 2001 From: Marko Date: Fri, 9 Jun 2023 20:56:54 +0200 Subject: [PATCH] Add docs for `empty` workspaces in swaybar --- sway/sway-bar.5.scd | 4 ++++ sway/sway-ipc.7.scd | 12 ++++++++++++ 2 files changed, 16 insertions(+) diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd index 42e59d57..27709d07 100644 --- a/sway/sway-bar.5.scd +++ b/sway/sway-bar.5.scd @@ -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 and text color for a workspace button when the workspace + contains no windows and is not active. + *binding_mode* Border, background and text color for the binding mode indicator. If not used, the colors will be taken from _urgent_workspace_. diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index e49c97a0..b62991a3 100644 --- a/sway/sway-ipc.7.scd +++ b/sway/sway-ipc.7.scd @@ -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"