diff --git a/komorebi/src/workspace.rs b/komorebi/src/workspace.rs index 4c036dbb..e91dfdb4 100644 --- a/komorebi/src/workspace.rs +++ b/komorebi/src/workspace.rs @@ -54,47 +54,47 @@ use crate::REMOVE_TITLEBARS; )] pub struct Workspace { #[getset(get = "pub", set = "pub")] - name: Option, - containers: Ring, + pub name: Option, + pub containers: Ring, #[getset(get = "pub", get_mut = "pub", set = "pub")] - monocle_container: Option, + pub monocle_container: Option, #[serde(skip_serializing_if = "Option::is_none")] #[getset(get_copy = "pub", set = "pub")] - monocle_container_restore_idx: Option, + pub monocle_container_restore_idx: Option, #[getset(get = "pub", get_mut = "pub", set = "pub")] - maximized_window: Option, + pub maximized_window: Option, #[serde(skip_serializing_if = "Option::is_none")] #[getset(get_copy = "pub", set = "pub")] - maximized_window_restore_idx: Option, + pub maximized_window_restore_idx: Option, #[getset(get = "pub", get_mut = "pub")] - floating_windows: Vec, + pub floating_windows: Vec, #[getset(get = "pub", get_mut = "pub", set = "pub")] - layout: Layout, + pub layout: Layout, #[getset(get = "pub", get_mut = "pub", set = "pub")] - layout_rules: Vec<(usize, Layout)>, + pub layout_rules: Vec<(usize, Layout)>, #[getset(get_copy = "pub", set = "pub")] - layout_flip: Option, + pub layout_flip: Option, #[getset(get_copy = "pub", set = "pub")] - workspace_padding: Option, + pub workspace_padding: Option, #[getset(get_copy = "pub", set = "pub")] - container_padding: Option, + pub container_padding: Option, #[getset(get = "pub", set = "pub")] - latest_layout: Vec, + pub latest_layout: Vec, #[getset(get = "pub", get_mut = "pub", set = "pub")] - resize_dimensions: Vec>, + pub resize_dimensions: Vec>, #[getset(get = "pub", set = "pub")] - tile: bool, + pub tile: bool, #[getset(get_copy = "pub", set = "pub")] - apply_window_based_work_area_offset: bool, + pub apply_window_based_work_area_offset: bool, #[getset(get = "pub", get_mut = "pub", set = "pub")] - window_container_behaviour: Option, + pub window_container_behaviour: Option, #[getset(get = "pub", get_mut = "pub", set = "pub")] - window_container_behaviour_rules: Option>, + pub window_container_behaviour_rules: Option>, #[getset(get = "pub", get_mut = "pub", set = "pub")] - float_override: Option, + pub float_override: Option, #[serde(skip_serializing_if = "Option::is_none")] #[getset(get = "pub", set = "pub")] - workspace_config: Option, + pub workspace_config: Option, } impl_ring_elements!(Workspace, Container);