mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 04:34:11 +01:00
docs(schema): ensure all public-facing bar config opts have docstrings
This commit is contained in:
1 parent
93bdb327f0
commit
b421043494
20 files changed
+324
-178
No files matched your search
@@ -159,6 +159,7 @@ impl KomobarConfig {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Position configuration
|
||||
pub struct PositionConfig {
|
||||
/// The desired starting position of the bar (0,0 = top left of the screen)
|
||||
#[serde(alias = "position")]
|
||||
@@ -170,6 +171,7 @@ pub struct PositionConfig {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Frame configuration
|
||||
pub struct FrameConfig {
|
||||
/// Margin inside the painted frame
|
||||
pub inner_margin: Position,
|
||||
@@ -178,6 +180,7 @@ pub struct FrameConfig {
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(untagged)]
|
||||
/// Monitor configuration or monitor index
|
||||
pub enum MonitorConfigOrIndex {
|
||||
/// The monitor index where you want the bar to show
|
||||
Index(usize),
|
||||
@@ -187,6 +190,7 @@ pub enum MonitorConfigOrIndex {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Monitor configuration
|
||||
pub struct MonitorConfig {
|
||||
/// Komorebi monitor index of the monitor on which to render the bar
|
||||
pub index: usize,
|
||||
@@ -204,9 +208,13 @@ pub type Margin = SpacingKind;
|
||||
// `Grouped` needs to come last, otherwise serde might mistaken an `IndividualSpacingConfig` for a
|
||||
// `GroupedSpacingConfig` with both `vertical` and `horizontal` set to `None` ignoring the
|
||||
// individual values.
|
||||
/// Spacing kind
|
||||
pub enum SpacingKind {
|
||||
/// Spacing applied to all sides
|
||||
All(f32),
|
||||
/// Individual spacing applied to each side
|
||||
Individual(IndividualSpacingConfig),
|
||||
/// Grouped vertical and horizontal spacing
|
||||
Grouped(GroupedSpacingConfig),
|
||||
}
|
||||
|
||||
@@ -251,25 +259,36 @@ impl SpacingKind {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Grouped vertical and horizontal spacing
|
||||
pub struct GroupedSpacingConfig {
|
||||
/// Vertical grouped spacing
|
||||
pub vertical: Option<GroupedSpacingOptions>,
|
||||
/// Horizontal grouped spacing
|
||||
pub horizontal: Option<GroupedSpacingOptions>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(untagged)]
|
||||
/// Grouped spacing options
|
||||
pub enum GroupedSpacingOptions {
|
||||
/// Symmetrical grouped spacing
|
||||
Symmetrical(f32),
|
||||
/// Split grouped spacing
|
||||
Split(f32, f32),
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Individual spacing configuration
|
||||
pub struct IndividualSpacingConfig {
|
||||
/// Spacing for the top
|
||||
pub top: f32,
|
||||
/// Spacing for the bottom
|
||||
pub bottom: f32,
|
||||
/// Spacing for the left
|
||||
pub left: f32,
|
||||
/// Spacing for the right
|
||||
pub right: f32,
|
||||
}
|
||||
|
||||
@@ -509,6 +528,7 @@ impl KomobarConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Position
|
||||
pub struct Position {
|
||||
/// X coordinate
|
||||
pub x: f32,
|
||||
@@ -537,8 +557,9 @@ impl From<Position> for Pos2 {
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(tag = "palette")]
|
||||
/// Komorebi bar theme
|
||||
pub enum KomobarTheme {
|
||||
/// A theme from catppuccin-egui
|
||||
/// Theme from catppuccin-egui
|
||||
Catppuccin {
|
||||
/// Name of the Catppuccin theme (theme previews: https://github.com/catppuccin/catppuccin)
|
||||
name: komorebi_themes::Catppuccin,
|
||||
@@ -546,7 +567,7 @@ pub enum KomobarTheme {
|
||||
auto_select_fill: Option<komorebi_themes::CatppuccinValue>,
|
||||
auto_select_text: Option<komorebi_themes::CatppuccinValue>,
|
||||
},
|
||||
/// A theme from base16-egui-themes
|
||||
/// Theme from base16-egui-themes
|
||||
Base16 {
|
||||
/// Name of the Base16 theme (theme previews: https://tinted-theming.github.io/tinted-gallery/)
|
||||
name: komorebi_themes::Base16,
|
||||
@@ -554,7 +575,7 @@ pub enum KomobarTheme {
|
||||
auto_select_fill: Option<komorebi_themes::Base16Value>,
|
||||
auto_select_text: Option<komorebi_themes::Base16Value>,
|
||||
},
|
||||
/// A custom Base16 theme
|
||||
/// Custom Base16 theme
|
||||
Custom {
|
||||
/// Colours of the custom Base16 theme palette
|
||||
colours: Box<komorebi_themes::Base16ColourPalette>,
|
||||
@@ -599,6 +620,7 @@ impl From<KomorebiTheme> for KomobarTheme {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Label prefix
|
||||
pub enum LabelPrefix {
|
||||
/// Show no prefix
|
||||
None,
|
||||
@@ -612,6 +634,7 @@ pub enum LabelPrefix {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Display format
|
||||
pub enum DisplayFormat {
|
||||
/// Show only icon
|
||||
Icon,
|
||||
@@ -626,9 +649,10 @@ pub enum DisplayFormat {
|
||||
}
|
||||
|
||||
macro_rules! extend_enum {
|
||||
($existing_enum:ident, $new_enum:ident, { $($(#[$meta:meta])* $variant:ident),* $(,)? }) => {
|
||||
($(#[$type_meta:meta])* $existing_enum:ident, $new_enum:ident, { $($(#[$meta:meta])* $variant:ident),* $(,)? }) => {
|
||||
#[derive(Copy, Clone, Debug, serde::Serialize, serde::Deserialize, PartialEq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
$(#[$type_meta])*
|
||||
pub enum $new_enum {
|
||||
// Add new variants
|
||||
$(
|
||||
@@ -649,7 +673,9 @@ macro_rules! extend_enum {
|
||||
};
|
||||
}
|
||||
|
||||
extend_enum!(DisplayFormat, WorkspacesDisplayFormat, {
|
||||
extend_enum!(
|
||||
/// Workspaces display format
|
||||
DisplayFormat, WorkspacesDisplayFormat, {
|
||||
/// Show all icons only
|
||||
AllIcons,
|
||||
/// Show both all icons and text
|
||||
|
||||
@@ -31,6 +31,7 @@ mod defaults {
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(tag = "kind")]
|
||||
/// Grouping
|
||||
pub enum Grouping {
|
||||
/// No grouping is applied
|
||||
None,
|
||||
@@ -360,6 +361,7 @@ impl RenderConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Grouping configuration
|
||||
pub struct GroupingConfig {
|
||||
/// Styles for the grouping
|
||||
pub style: Option<GroupingStyle>,
|
||||
@@ -372,7 +374,9 @@ pub struct GroupingConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Grouping Style
|
||||
pub enum GroupingStyle {
|
||||
/// Default
|
||||
#[serde(alias = "CtByte")]
|
||||
Default,
|
||||
/// A shadow is added under the default group. (blur: 4, offset: x-1 y-1, spread: 3)
|
||||
@@ -394,6 +398,7 @@ pub enum GroupingStyle {
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(untagged)]
|
||||
/// Rounding configuration
|
||||
pub enum RoundingConfig {
|
||||
/// All 4 corners are the same
|
||||
Same(f32),
|
||||
|
||||
@@ -31,6 +31,7 @@ const MIN_LAUNCH_INTERVAL: Duration = Duration::from_millis(800);
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Applications widget configuration
|
||||
pub struct ApplicationsConfig {
|
||||
/// Enables or disables the applications widget.
|
||||
pub enable: bool,
|
||||
@@ -48,6 +49,7 @@ pub struct ApplicationsConfig {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Application button configuration
|
||||
pub struct AppConfig {
|
||||
/// Whether to enable this application button (optional).
|
||||
/// Inherits from the global `Applications` setting if omitted.
|
||||
@@ -69,6 +71,7 @@ pub struct AppConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, PartialEq, Default)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Applications widget display format
|
||||
pub enum ApplicationsDisplayFormat {
|
||||
/// Show only the application icon.
|
||||
#[default]
|
||||
|
||||
@@ -23,6 +23,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Battery widget configuration
|
||||
pub struct BatteryConfig {
|
||||
/// Enable the Battery widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -22,6 +22,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// CPU widget configuration
|
||||
pub struct CpuConfig {
|
||||
/// Enable the Cpu widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -62,6 +62,7 @@ impl CustomModifiers {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Date widget configuration
|
||||
pub struct DateConfig {
|
||||
/// Enable the Date widget
|
||||
pub enable: bool,
|
||||
@@ -104,6 +105,7 @@ impl From<DateConfig> for Date {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Date widget format
|
||||
pub enum DateFormat {
|
||||
/// Month/Date/Year format (09/08/24)
|
||||
MonthDateYear,
|
||||
|
||||
@@ -54,6 +54,7 @@ use std::sync::atomic::Ordering;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget configuration
|
||||
pub struct KomorebiConfig {
|
||||
/// Configure the Workspaces widget
|
||||
pub workspaces: Option<KomorebiWorkspacesConfig>,
|
||||
@@ -72,6 +73,7 @@ pub struct KomorebiConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget workspaces configuration
|
||||
pub struct KomorebiWorkspacesConfig {
|
||||
/// Enable the Komorebi Workspaces widget
|
||||
pub enable: bool,
|
||||
@@ -83,6 +85,7 @@ pub struct KomorebiWorkspacesConfig {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget layout configuration
|
||||
pub struct KomorebiLayoutConfig {
|
||||
/// Enable the Komorebi Layout widget
|
||||
pub enable: bool,
|
||||
@@ -94,6 +97,7 @@ pub struct KomorebiLayoutConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget workspace layer configuration
|
||||
pub struct KomorebiWorkspaceLayerConfig {
|
||||
/// Enable the Komorebi Workspace Layer widget
|
||||
pub enable: bool,
|
||||
@@ -105,6 +109,7 @@ pub struct KomorebiWorkspaceLayerConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget focused container configuration
|
||||
pub struct KomorebiFocusedContainerConfig {
|
||||
/// Enable the Komorebi Focused Container widget
|
||||
pub enable: bool,
|
||||
@@ -116,6 +121,7 @@ pub struct KomorebiFocusedContainerConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget locked container configuration
|
||||
pub struct KomorebiLockedContainerConfig {
|
||||
/// Enable the Komorebi Locked Container widget
|
||||
pub enable: bool,
|
||||
@@ -127,6 +133,7 @@ pub struct KomorebiLockedContainerConfig {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Komorebi widget configuration switcher configuration
|
||||
pub struct KomorebiConfigurationSwitcherConfig {
|
||||
/// Enable the Komorebi Configurations widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -25,11 +25,17 @@ use std::fmt::Formatter;
|
||||
#[derive(Copy, Clone, Debug, Serialize, PartialEq)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
#[serde(untagged)]
|
||||
/// Komorebi layout kind
|
||||
pub enum KomorebiLayout {
|
||||
/// Predefined layout
|
||||
Default(komorebi_client::DefaultLayout),
|
||||
/// Monocle mode
|
||||
Monocle,
|
||||
/// Floating layer
|
||||
Floating,
|
||||
/// Paused
|
||||
Paused,
|
||||
/// Custom layout
|
||||
Custom,
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Memory widget configuration
|
||||
pub struct MemoryConfig {
|
||||
/// Enable the Memory widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -30,6 +30,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Network widget configuration
|
||||
pub struct NetworkConfig {
|
||||
/// Enable the Network widget
|
||||
pub enable: bool,
|
||||
@@ -55,6 +56,7 @@ pub struct NetworkConfig {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Network select configuration
|
||||
pub struct NetworkSelectConfig {
|
||||
/// Select the total received data when it's over this value
|
||||
pub total_received_over: Option<u64>,
|
||||
|
||||
@@ -24,6 +24,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Storage widget configuration
|
||||
pub struct StorageConfig {
|
||||
/// Enable the Storage widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -76,6 +76,7 @@ lazy_static! {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Time widget configuration
|
||||
pub struct TimeConfig {
|
||||
/// Enable the Time widget
|
||||
pub enable: bool,
|
||||
@@ -124,6 +125,7 @@ impl From<TimeConfig> for Time {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Time format
|
||||
pub enum TimeFormat {
|
||||
/// Twelve-hour format (with seconds)
|
||||
TwelveHour,
|
||||
|
||||
@@ -20,6 +20,7 @@ mod defaults {
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Update widget configuration
|
||||
pub struct UpdateConfig {
|
||||
/// Enable the Update widget
|
||||
pub enable: bool,
|
||||
|
||||
@@ -34,18 +34,29 @@ pub trait BarWidget {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Widget configuration
|
||||
pub enum WidgetConfig {
|
||||
/// Applications widget configuration
|
||||
Applications(ApplicationsConfig),
|
||||
/// Battery widget configuration
|
||||
Battery(BatteryConfig),
|
||||
/// CPU widget configuration
|
||||
Cpu(CpuConfig),
|
||||
/// Date widget configuration
|
||||
Date(DateConfig),
|
||||
// Keyboard(KeyboardConfig),
|
||||
/// Komorebi widget configuration
|
||||
Komorebi(KomorebiConfig),
|
||||
// Media(MediaConfig),
|
||||
/// Memory widget configuration
|
||||
Memory(MemoryConfig),
|
||||
/// Network widget configuration
|
||||
Network(NetworkConfig),
|
||||
/// Storage widget configuration
|
||||
Storage(StorageConfig),
|
||||
/// Time widget configuration
|
||||
Time(TimeConfig),
|
||||
/// Update widget configuration
|
||||
Update(UpdateConfig),
|
||||
}
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@ pub enum FloatingLayerBehaviour {
|
||||
Clone, Copy, Debug, Default, Serialize, Deserialize, Display, EnumString, ValueEnum, PartialEq,
|
||||
)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
/// Window hiding position
|
||||
pub enum WindowHidingPosition {
|
||||
/// Hide windows in the bottom left corner of the screen
|
||||
#[default]
|
||||
|
||||
@@ -134,8 +134,11 @@ impl serde_with::schemars_1::JsonSchemaAs<PathBuf> for ResolvedPathBuf {
|
||||
std::borrow::Cow::Borrowed("PathBuf")
|
||||
}
|
||||
|
||||
fn json_schema(generator: &mut schemars::SchemaGenerator) -> schemars::Schema {
|
||||
<PathBuf as schemars::JsonSchema>::json_schema(generator)
|
||||
fn json_schema(_generator: &mut schemars::SchemaGenerator) -> schemars::Schema {
|
||||
schemars::json_schema!({
|
||||
"type": "string",
|
||||
"description": "A file system path. Environment variables like $VAR are automatically resolved."
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -122,15 +122,19 @@ let
|
||||
options = {
|
||||
bottom = lib.mkOption {
|
||||
type = lib.types.number;
|
||||
description = "Spacing for the bottom";
|
||||
};
|
||||
left = lib.mkOption {
|
||||
type = lib.types.number;
|
||||
description = "Spacing for the left";
|
||||
};
|
||||
right = lib.mkOption {
|
||||
type = lib.types.number;
|
||||
description = "Spacing for the right";
|
||||
};
|
||||
top = lib.mkOption {
|
||||
type = lib.types.number;
|
||||
description = "Spacing for the top";
|
||||
};
|
||||
};
|
||||
})
|
||||
@@ -139,10 +143,12 @@ let
|
||||
horizontal = lib.mkOption {
|
||||
type = (lib.types.nullOr groupedSpacingOptions);
|
||||
default = null;
|
||||
description = "Horizontal grouped spacing";
|
||||
};
|
||||
vertical = lib.mkOption {
|
||||
type = (lib.types.nullOr groupedSpacingOptions);
|
||||
default = null;
|
||||
description = "Vertical grouped spacing";
|
||||
};
|
||||
};
|
||||
})
|
||||
@@ -939,39 +945,6 @@ in
|
||||
]
|
||||
);
|
||||
};
|
||||
auto_select_text = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
auto_select_fill = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
accent = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
colours = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
@@ -1047,6 +1020,39 @@ in
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
auto_select_text = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
auto_select_fill = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
accent = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
name = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
|
||||
+132
-132
@@ -755,7 +755,7 @@ in
|
||||
]
|
||||
);
|
||||
};
|
||||
unfocused_border = lib.mkOption {
|
||||
bar_accent = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
@@ -766,7 +766,137 @@ in
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
bar_accent = lib.mkOption {
|
||||
monocle_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
stack_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
unfocused_locked_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
single_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
colours = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.submodule {
|
||||
options = {
|
||||
base_00 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base00";
|
||||
};
|
||||
base_01 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base01";
|
||||
};
|
||||
base_02 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base02";
|
||||
};
|
||||
base_03 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base03";
|
||||
};
|
||||
base_04 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base04";
|
||||
};
|
||||
base_05 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base05";
|
||||
};
|
||||
base_06 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base06";
|
||||
};
|
||||
base_07 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base07";
|
||||
};
|
||||
base_08 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base08";
|
||||
};
|
||||
base_09 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base09";
|
||||
};
|
||||
base_0a = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0A";
|
||||
};
|
||||
base_0b = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0B";
|
||||
};
|
||||
base_0c = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0C";
|
||||
};
|
||||
base_0d = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0D";
|
||||
};
|
||||
base_0e = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0E";
|
||||
};
|
||||
base_0f = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0F";
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
floating_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
unfocused_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
@@ -1063,136 +1193,6 @@ in
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
monocle_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
colours = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.submodule {
|
||||
options = {
|
||||
base_00 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base00";
|
||||
};
|
||||
base_01 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base01";
|
||||
};
|
||||
base_02 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base02";
|
||||
};
|
||||
base_03 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base03";
|
||||
};
|
||||
base_04 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base04";
|
||||
};
|
||||
base_05 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base05";
|
||||
};
|
||||
base_06 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base06";
|
||||
};
|
||||
base_07 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base07";
|
||||
};
|
||||
base_08 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base08";
|
||||
};
|
||||
base_09 = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base09";
|
||||
};
|
||||
base_0a = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0A";
|
||||
};
|
||||
base_0b = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0B";
|
||||
};
|
||||
base_0c = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0C";
|
||||
};
|
||||
base_0d = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0D";
|
||||
};
|
||||
base_0e = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0E";
|
||||
};
|
||||
base_0f = lib.mkOption {
|
||||
type = colour;
|
||||
description = "Base0F";
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
floating_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
unfocused_locked_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
stack_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
single_border = lib.mkOption {
|
||||
type = (
|
||||
lib.types.nullOr (
|
||||
lib.types.oneOf [
|
||||
(lib.types.nullOr catppuccinValue)
|
||||
(lib.types.nullOr base16Value)
|
||||
]
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
|
||||
+71
-6
@@ -169,6 +169,7 @@
|
||||
],
|
||||
"$defs": {
|
||||
"AppConfig": {
|
||||
"description": "Application button configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"command": {
|
||||
@@ -218,6 +219,7 @@
|
||||
]
|
||||
},
|
||||
"ApplicationsConfig": {
|
||||
"description": "Applications widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -264,6 +266,7 @@
|
||||
]
|
||||
},
|
||||
"ApplicationsDisplayFormat": {
|
||||
"description": "Applications widget display format",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Show only the application icon.",
|
||||
@@ -1806,6 +1809,7 @@
|
||||
]
|
||||
},
|
||||
"BatteryConfig": {
|
||||
"description": "Battery widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"auto_select_under": {
|
||||
@@ -2029,6 +2033,7 @@
|
||||
]
|
||||
},
|
||||
"CpuConfig": {
|
||||
"description": "CPU widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"auto_select_over": {
|
||||
@@ -2094,6 +2099,7 @@
|
||||
]
|
||||
},
|
||||
"DateConfig": {
|
||||
"description": "Date widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
@@ -2129,6 +2135,7 @@
|
||||
]
|
||||
},
|
||||
"DateFormat": {
|
||||
"description": "Date widget format",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Month/Date/Year format (09/08/24)",
|
||||
@@ -2230,6 +2237,7 @@
|
||||
]
|
||||
},
|
||||
"DisplayFormat": {
|
||||
"description": "Display format",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Show only icon",
|
||||
@@ -2259,6 +2267,7 @@
|
||||
]
|
||||
},
|
||||
"FrameConfig": {
|
||||
"description": "Frame configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inner_margin": {
|
||||
@@ -2271,9 +2280,11 @@
|
||||
]
|
||||
},
|
||||
"GroupedSpacingConfig": {
|
||||
"description": "Grouped vertical and horizontal spacing",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"horizontal": {
|
||||
"description": "Horizontal grouped spacing",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/$defs/GroupedSpacingOptions"
|
||||
@@ -2284,6 +2295,7 @@
|
||||
]
|
||||
},
|
||||
"vertical": {
|
||||
"description": "Vertical grouped spacing",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/$defs/GroupedSpacingOptions"
|
||||
@@ -2296,12 +2308,15 @@
|
||||
}
|
||||
},
|
||||
"GroupedSpacingOptions": {
|
||||
"description": "Grouped spacing options",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Symmetrical grouped spacing",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
{
|
||||
"description": "Split grouped spacing",
|
||||
"type": "array",
|
||||
"maxItems": 2,
|
||||
"minItems": 2,
|
||||
@@ -2319,6 +2334,7 @@
|
||||
]
|
||||
},
|
||||
"Grouping": {
|
||||
"description": "Grouping",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "No grouping is applied",
|
||||
@@ -2378,6 +2394,7 @@
|
||||
]
|
||||
},
|
||||
"GroupingConfig": {
|
||||
"description": "Grouping configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"rounding": {
|
||||
@@ -2416,12 +2433,12 @@
|
||||
}
|
||||
},
|
||||
"GroupingStyle": {
|
||||
"description": "Grouping Style",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Default",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Default"
|
||||
]
|
||||
"const": "Default"
|
||||
},
|
||||
{
|
||||
"description": "A shadow is added under the default group. (blur: 4, offset: x-1 y-1, spread: 3)",
|
||||
@@ -2461,21 +2478,26 @@
|
||||
"format": "color-hex"
|
||||
},
|
||||
"IndividualSpacingConfig": {
|
||||
"description": "Individual spacing configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bottom": {
|
||||
"description": "Spacing for the bottom",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
"left": {
|
||||
"description": "Spacing for the left",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
"right": {
|
||||
"description": "Spacing for the right",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
"top": {
|
||||
"description": "Spacing for the top",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
}
|
||||
@@ -2488,9 +2510,10 @@
|
||||
]
|
||||
},
|
||||
"KomobarTheme": {
|
||||
"description": "Komorebi bar theme",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A theme from catppuccin-egui",
|
||||
"description": "Theme from catppuccin-egui",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accent": {
|
||||
@@ -2538,7 +2561,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "A theme from base16-egui-themes",
|
||||
"description": "Theme from base16-egui-themes",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accent": {
|
||||
@@ -2586,7 +2609,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "A custom Base16 theme",
|
||||
"description": "Custom Base16 theme",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"accent": {
|
||||
@@ -2636,6 +2659,7 @@
|
||||
]
|
||||
},
|
||||
"KomorebiConfig": {
|
||||
"description": "Komorebi widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"configuration_switcher": {
|
||||
@@ -2707,6 +2731,7 @@
|
||||
}
|
||||
},
|
||||
"KomorebiConfigurationSwitcherConfig": {
|
||||
"description": "Komorebi widget configuration switcher configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"configurations": {
|
||||
@@ -2727,6 +2752,7 @@
|
||||
]
|
||||
},
|
||||
"KomorebiFocusedContainerConfig": {
|
||||
"description": "Komorebi widget focused container configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -2757,25 +2783,32 @@
|
||||
]
|
||||
},
|
||||
"KomorebiLayout": {
|
||||
"description": "Komorebi layout kind",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Predefined layout",
|
||||
"$ref": "#/$defs/DefaultLayout"
|
||||
},
|
||||
{
|
||||
"description": "Monocle mode",
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"description": "Floating layer",
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"description": "Paused",
|
||||
"type": "null"
|
||||
},
|
||||
{
|
||||
"description": "Custom layout",
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"KomorebiLayoutConfig": {
|
||||
"description": "Komorebi widget layout configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -2809,6 +2842,7 @@
|
||||
]
|
||||
},
|
||||
"KomorebiLockedContainerConfig": {
|
||||
"description": "Komorebi widget locked container configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -2839,6 +2873,7 @@
|
||||
]
|
||||
},
|
||||
"KomorebiWorkspaceLayerConfig": {
|
||||
"description": "Komorebi widget workspace layer configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -2869,6 +2904,7 @@
|
||||
]
|
||||
},
|
||||
"KomorebiWorkspacesConfig": {
|
||||
"description": "Komorebi widget workspaces configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"display": {
|
||||
@@ -2897,6 +2933,7 @@
|
||||
]
|
||||
},
|
||||
"LabelPrefix": {
|
||||
"description": "Label prefix",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Show no prefix",
|
||||
@@ -2921,6 +2958,7 @@
|
||||
]
|
||||
},
|
||||
"MemoryConfig": {
|
||||
"description": "Memory widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"auto_select_over": {
|
||||
@@ -2964,6 +3002,7 @@
|
||||
]
|
||||
},
|
||||
"MonitorConfig": {
|
||||
"description": "Monitor configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"index": {
|
||||
@@ -2989,6 +3028,7 @@
|
||||
]
|
||||
},
|
||||
"MonitorConfigOrIndex": {
|
||||
"description": "Monitor configuration or monitor index",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "The monitor index where you want the bar to show",
|
||||
@@ -3003,6 +3043,7 @@
|
||||
]
|
||||
},
|
||||
"NetworkConfig": {
|
||||
"description": "Network widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"activity_left_padding": {
|
||||
@@ -3073,6 +3114,7 @@
|
||||
]
|
||||
},
|
||||
"NetworkSelectConfig": {
|
||||
"description": "Network select configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"received_over": {
|
||||
@@ -3114,6 +3156,7 @@
|
||||
}
|
||||
},
|
||||
"Position": {
|
||||
"description": "Position",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"x": {
|
||||
@@ -3133,6 +3176,7 @@
|
||||
]
|
||||
},
|
||||
"PositionConfig": {
|
||||
"description": "Position configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"end": {
|
||||
@@ -3221,6 +3265,7 @@
|
||||
]
|
||||
},
|
||||
"RoundingConfig": {
|
||||
"description": "Rounding configuration",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "All 4 corners are the same",
|
||||
@@ -3240,20 +3285,25 @@
|
||||
]
|
||||
},
|
||||
"SpacingKind": {
|
||||
"description": "Spacing kind",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Spacing applied to all sides",
|
||||
"type": "number",
|
||||
"format": "float"
|
||||
},
|
||||
{
|
||||
"description": "Individual spacing applied to each side",
|
||||
"$ref": "#/$defs/IndividualSpacingConfig"
|
||||
},
|
||||
{
|
||||
"description": "Grouped vertical and horizontal spacing",
|
||||
"$ref": "#/$defs/GroupedSpacingConfig"
|
||||
}
|
||||
]
|
||||
},
|
||||
"StorageConfig": {
|
||||
"description": "Storage widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"auto_hide_under": {
|
||||
@@ -3323,6 +3373,7 @@
|
||||
]
|
||||
},
|
||||
"TimeConfig": {
|
||||
"description": "Time widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"changing_icon": {
|
||||
@@ -3366,6 +3417,7 @@
|
||||
]
|
||||
},
|
||||
"TimeFormat": {
|
||||
"description": "Time format",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Twelve-hour format (with seconds)",
|
||||
@@ -3413,6 +3465,7 @@
|
||||
]
|
||||
},
|
||||
"UpdateConfig": {
|
||||
"description": "Update widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data_refresh_interval": {
|
||||
@@ -3446,8 +3499,10 @@
|
||||
]
|
||||
},
|
||||
"WidgetConfig": {
|
||||
"description": "Widget configuration",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Applications widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Applications": {
|
||||
@@ -3460,6 +3515,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Battery widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Battery": {
|
||||
@@ -3472,6 +3528,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "CPU widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Cpu": {
|
||||
@@ -3484,6 +3541,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Date widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Date": {
|
||||
@@ -3496,6 +3554,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Komorebi widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Komorebi": {
|
||||
@@ -3508,6 +3567,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Memory widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Memory": {
|
||||
@@ -3520,6 +3580,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Network widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Network": {
|
||||
@@ -3532,6 +3593,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Storage widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Storage": {
|
||||
@@ -3544,6 +3606,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Time widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Time": {
|
||||
@@ -3556,6 +3619,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Update widget configuration",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Update": {
|
||||
@@ -3570,6 +3634,7 @@
|
||||
]
|
||||
},
|
||||
"WorkspacesDisplayFormat": {
|
||||
"description": "Workspaces widget display format",
|
||||
"anyOf": [
|
||||
{
|
||||
"description": "Show all icons only",
|
||||
|
||||
@@ -3077,6 +3077,7 @@
|
||||
]
|
||||
},
|
||||
"PathBuf": {
|
||||
"description": "A file system path. Environment variables like $VAR are automatically resolved.",
|
||||
"type": "string"
|
||||
},
|
||||
"PerAnimationPrefixConfig": {
|
||||
@@ -3419,6 +3420,7 @@
|
||||
]
|
||||
},
|
||||
"WindowHidingPosition": {
|
||||
"description": "Window hiding position",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Hide windows in the bottom left corner of the screen",
|
||||
|
||||
Reference in new issue
Block a user