pub trait Config {
Show 29 methods fn mapped_bindings(&self) -> Vec<Keybind>; fn create_list_of_tag_labels(&self) -> Vec<String>; fn workspaces(&self) -> Option<Vec<Workspace>>; fn focus_behaviour(&self) -> FocusBehaviour; fn mousekey(&self) -> Vec<String>; fn create_list_of_scratchpads(&self) -> Vec<ScratchPad>; fn layouts(&self) -> Vec<Layout>; fn layout_mode(&self) -> LayoutMode; fn insert_behavior(&self) -> InsertBehavior; fn focus_new_windows(&self) -> bool; fn command_handler<SERVER>(
        command: &str,
        manager: &mut Manager<Self, SERVER>
    ) -> bool
    where
        SERVER: DisplayServer,
        Self: Sized
; fn always_float(&self) -> bool; fn default_width(&self) -> i32; fn default_height(&self) -> i32; fn border_width(&self) -> i32; fn margin(&self) -> Margins; fn workspace_margin(&self) -> Option<Margins>; fn gutter(&self) -> Option<Vec<Gutter>>; fn default_border_color(&self) -> String; fn floating_border_color(&self) -> String; fn focused_border_color(&self) -> String; fn on_new_window_cmd(&self) -> Option<String>; fn get_list_of_gutters(&self) -> Vec<Gutter>; fn max_window_width(&self) -> Option<Size>; fn disable_tile_drag(&self) -> bool; fn save_state(&self, state: &State); fn load_state(&self, state: &mut State); fn setup_predefined_window(&self, window: &mut Window) -> bool; fn load_window(&self, window: &mut Window) { ... }
}

Required Methods

Returns a collection of bindings with the mod key mapped.

Attempt to write current state to a file.

It will be used to restore the state after soft reload.

Note: this function cannot fail.

Load saved state if it exists.

Handle window placement based on WM_CLASS

Provided Methods

Implementors