feat(settings): add grouped configuration hub, languages and tray controls

This commit is contained in:
aria committed 2026-10-28 03:37:22 +09:00
1 parent 6f34fd080f
commit cc3b6f903f
90 files changed
+3625 -408

No files matched your search

+1
View File
@@ -9,5 +9,6 @@ rust-version.workspace = true
workspace = true
[dependencies]
schemars.workspace = true
ferese-layout = { path = "../ferese-layout" }
serde.workspace = true
+13 -2
View File
@@ -1,7 +1,9 @@
use crate::{CrossingPolicy, SpringConfig};
/// One configuration contract for compositor and out-of-process shell motion.
#[derive(Clone, Copy, Debug, PartialEq, serde::Deserialize)]
#[derive(
Clone, Copy, Debug, PartialEq, serde::Deserialize, schemars::JsonSchema, serde::Serialize,
)]
#[serde(default, deny_unknown_fields)]
pub struct MotionSettings {
pub enabled: bool,
@@ -63,7 +65,16 @@ impl MotionSettings {
}
}
#[derive(Clone, Copy, Debug, Default, PartialEq, serde::Deserialize)]
#[derive(
Clone,
Copy,
Debug,
Default,
PartialEq,
serde::Deserialize,
schemars::JsonSchema,
serde::Serialize,
)]
#[serde(default, deny_unknown_fields)]
pub struct SpringSettings {
pub duration_ms: Option<f64>,