|
|
|
@ -469,6 +469,9 @@ pub struct GeneralConfig {
|
|
|
|
|
#[serde(default)]
|
|
|
|
|
pub selection_ui: UiConfig,
|
|
|
|
|
|
|
|
|
|
#[serde(default)]
|
|
|
|
|
pub focus_selection_ui: UiConfig,
|
|
|
|
|
|
|
|
|
|
#[serde(default)]
|
|
|
|
|
pub sort_and_filter_ui: SortAndFilterUi,
|
|
|
|
|
|
|
|
|
@ -578,6 +581,11 @@ impl GeneralConfig {
|
|
|
|
|
pub fn start_fifo(&self) -> Option<&String> {
|
|
|
|
|
self.start_fifo.as_ref()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Get a reference to the general config's focus selection ui.
|
|
|
|
|
pub fn focus_selection_ui(&self) -> &UiConfig {
|
|
|
|
|
&self.focus_selection_ui
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
|
|
|
|
|