mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-28 03:12:46 +01:00
komorebic pan <left|right> moves the view along the row of the Scrolling layout by a column without moving focus first, and lets it come to rest with a column against an edge of the screen. Focus goes to the nearest column on the screen if the focused one has gone off it. It does nothing in the other layouts. The way that the view goes is the way that focus goes for the commands that have directions: panning to the left brings what is to the left of the screen into view, which is to move the row to the right. This is a command that a wheel can be bound to, as it is with whkd: alt + wheelup : komorebic pan left.
34 lines
882 B
Rust
34 lines
882 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 pan_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 pan_direction::*;
|
|
pub use rect::*;
|
|
pub use sizing::*;
|