diff --git a/crates/spacesh-proto/src/message.rs b/crates/spacesh-proto/src/message.rs index ed8015a..4e23e72 100644 --- a/crates/spacesh-proto/src/message.rs +++ b/crates/spacesh-proto/src/message.rs @@ -132,6 +132,19 @@ pub enum Cmd { Health, Status, Shutdown, + GetConfig, + SetConfig { + #[serde(default, skip_serializing_if = "Option::is_none")] + default_shell: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + font_family: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + font_size: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + theme: Option, + #[serde(default, skip_serializing_if = "Option::is_none")] + accent: Option, + }, } /// Daemon → subscribers push events. The active subset for M0+M1. @@ -150,6 +163,7 @@ pub enum Evt { State { surface_id: SurfaceId, state: SurfaceState }, Event { record: EventRecord }, EventsRead { ids: Vec }, + ConfigChanged { config: crate::config_view::ConfigView }, } #[cfg(test)]