pub struct StatusBarConfig {Show 17 fields
pub status_bar_enabled: bool,
pub status_bar_position: StatusBarPosition,
pub status_bar_height: f32,
pub status_bar_bg_color: [u8; 3],
pub status_bar_bg_alpha: f32,
pub status_bar_fg_color: [u8; 3],
pub status_bar_font: String,
pub status_bar_font_size: f32,
pub status_bar_separator: String,
pub status_bar_auto_hide_fullscreen: bool,
pub status_bar_auto_hide_mouse_inactive: bool,
pub status_bar_mouse_inactive_timeout: f32,
pub status_bar_system_poll_interval: f32,
pub status_bar_git_poll_interval: f32,
pub status_bar_time_format: String,
pub status_bar_git_show_status: bool,
pub status_bar_widgets: Vec<StatusBarWidgetConfig>,
}Expand description
Configuration for the status bar displayed at the top or bottom of the terminal.
Extracted from the monolithic Config struct via #[serde(flatten)].
All fields that were previously status_bar_* on Config are now
grouped here, keeping the YAML format fully backward-compatible.
Fields§
§status_bar_enabled: boolEnable the status bar
status_bar_position: StatusBarPositionStatus bar position (top or bottom)
status_bar_height: f32Status bar height in pixels
status_bar_bg_color: [u8; 3]Status bar background color [R, G, B] (0-255)
status_bar_bg_alpha: f32Status bar background alpha (0.0-1.0)
status_bar_fg_color: [u8; 3]Status bar foreground (text) color [R, G, B] (0-255)
status_bar_font: StringStatus bar font family (empty string = use terminal font)
status_bar_font_size: f32Status bar font size in points
status_bar_separator: StringSeparator string between widgets
status_bar_auto_hide_fullscreen: boolAuto-hide the status bar when in fullscreen mode
status_bar_auto_hide_mouse_inactive: boolAuto-hide the status bar when mouse is inactive
status_bar_mouse_inactive_timeout: f32Timeout in seconds before hiding status bar after last mouse activity
status_bar_system_poll_interval: f32Polling interval in seconds for system monitor data (CPU, memory, network)
status_bar_git_poll_interval: f32Polling interval in seconds for git branch detection
status_bar_time_format: StringTime format string for the Clock widget (chrono strftime syntax)
status_bar_git_show_status: boolShow ahead/behind and dirty indicators on the Git Branch widget
status_bar_widgets: Vec<StatusBarWidgetConfig>Widget configuration list
Trait Implementations§
Source§impl Clone for StatusBarConfig
impl Clone for StatusBarConfig
Source§fn clone(&self) -> StatusBarConfig
fn clone(&self) -> StatusBarConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StatusBarConfig
impl Debug for StatusBarConfig
Source§impl Default for StatusBarConfig
impl Default for StatusBarConfig
Source§fn default() -> StatusBarConfig
fn default() -> StatusBarConfig
Source§impl<'de> Deserialize<'de> for StatusBarConfigwhere
StatusBarConfig: Default,
impl<'de> Deserialize<'de> for StatusBarConfigwhere
StatusBarConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StatusBarConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StatusBarConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for StatusBarConfig
impl Serialize for StatusBarConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for StatusBarConfig
impl RefUnwindSafe for StatusBarConfig
impl Send for StatusBarConfig
impl Sync for StatusBarConfig
impl Unpin for StatusBarConfig
impl UnsafeUnpin for StatusBarConfig
impl UnwindSafe for StatusBarConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().