Struct swayipc_async::ColorableBarPart
source · #[non_exhaustive]pub struct ColorableBarPart {Show 21 fields
pub background: String,
pub statusline: String,
pub separator: String,
pub focused_background: String,
pub focused_statusline: String,
pub focused_separator: String,
pub focused_workspace_text: String,
pub focused_workspace_bg: String,
pub focused_workspace_border: String,
pub active_workspace_text: String,
pub active_workspace_bg: String,
pub active_workspace_border: String,
pub inactive_workspace_text: String,
pub inactive_workspace_bg: String,
pub inactive_workspace_border: String,
pub urgent_workspace_text: String,
pub urgent_workspace_bg: String,
pub urgent_workspace_border: String,
pub binding_mode_text: String,
pub binding_mode_bg: String,
pub binding_mode_border: String,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.background: String
The color to use for the bar background on unfocused outputs.
statusline: String
The color to use for the status line text on unfocused outputs.
separator: String
The color to use for the separator text on unfocused outputs.
focused_background: String
The color to use for the background of the bar on the focused output.
focused_statusline: String
The color to use for the status line text on the focused output.
focused_separator: String
The color to use for the separator text on the focused output.
focused_workspace_text: String
The color to use for the text of the focused workspace button.
focused_workspace_bg: String
The color to use for the background of the focused workspace button.
focused_workspace_border: String
The color to use for the border of the focused workspace button.
active_workspace_text: String
The color to use for the text of the workspace buttons for the visible workspaces on unfocused outputs.
active_workspace_bg: String
The color to use for the background of the workspace buttons for the visible workspaces on unfocused outputs.
active_workspace_border: String
The color to use for the border of the workspace buttons for the visible workspaces on unfocused outputs.
inactive_workspace_text: String
The color to use for the text of the workspace buttons for workspaces that are not visible.
inactive_workspace_bg: String
The color to use for the background of the workspace buttons for workspaces that are not visible.
inactive_workspace_border: String
The color to use for the border of the workspace buttons for workspaces that are not visible.
urgent_workspace_text: String
The color to use for the text of the workspace buttons for workspaces that contain an urgent view.
urgent_workspace_bg: String
The color to use for the background of the workspace buttons for workspaces that contain an urgent view.
urgent_workspace_border: String
The color to use for the border of the workspace buttons for workspaces that contain an urgent view.
binding_mode_text: String
The color to use for the text of the binding mode indicator.
binding_mode_bg: String
The color to use for the background of the binding mode indicator.
binding_mode_border: String
The color to use for the border of the binding mode indicator.
Trait Implementations§
source§impl Clone for ColorableBarPart
impl Clone for ColorableBarPart
source§fn clone(&self) -> ColorableBarPart
fn clone(&self) -> ColorableBarPart
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more