mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 12:44:10 +01:00
komorebi-layouts now carries what a host needs of the Scrolling layout without touching an operating system: the scrolling config section and its checked settings, the layout options for the model, placement of containers in a work area, resizing a column or tile, and the hand-over of column records between workspaces. It re-exports the model as komorebi_layouts::scrolling::model, so komorebi-for-mac can pick all of it up through its existing komorebi-layouts git dependency. Also add the Workspace methods for columns, consume/expel/stack, focus and ordering, which sit on top of it.
32 lines
833 B
Rust
32 lines
833 B
Rust
#![warn(clippy::all)]
|
|
#![allow(clippy::missing_errors_doc, clippy::use_self, clippy::doc_markdown)]
|
|
|
|
//! Layout system for the komorebi window manager.
|
|
//!
|
|
//! This crate provides the core layout algorithms and types for arranging windows
|
|
//! in various configurations. It includes optional Windows-specific functionality
|
|
//! behind the `win32` feature flag.
|
|
|
|
pub mod arrangement;
|
|
#[cfg(feature = "win32")]
|
|
pub mod custom_layout;
|
|
pub mod cycle_direction;
|
|
pub mod default_layout;
|
|
pub mod direction;
|
|
pub mod layout;
|
|
pub mod operation_direction;
|
|
pub mod rect;
|
|
pub mod scrolling;
|
|
pub mod sizing;
|
|
|
|
pub use arrangement::*;
|
|
#[cfg(feature = "win32")]
|
|
pub use custom_layout::*;
|
|
pub use cycle_direction::*;
|
|
pub use default_layout::*;
|
|
pub use direction::*;
|
|
pub use layout::*;
|
|
pub use operation_direction::*;
|
|
pub use rect::*;
|
|
pub use sizing::*;
|