libwmctl
Rust X11 automation
libwmctl implements the Extended Window Manager Hints (EWMH) specification
as a way to work along side EWMH compatible window managers as a companion. libwmctl provides the
ability to precisely define how windows should be shaped and placed and can fill in gaps for window
managers lacking some shaping or placement features. libwmctl exposes X11 details in a simple
consumable way opening the door to window manipulation beyond what your favorite EWMH window manager
provides.
Quick links
Usage
This minimum rustc requirement is driven by the tracing_subscriber requirements
Shape window
Shape the active window using the pre-defined Shape::Small shape which is a quarter of the
screen.
use *;
Move window
Move the active window to the bottom left corner of the screen using the pre-defined
Position::BottomLeft position.
use *;
Place window
Combine the shape and move into a single command by placing the window. First the window is shaped
using the pre-defined Shap::Small shape then it is moved to the bottom left using the
pre-defined Position:BottomLeft position in a single operation.
use *;
Window Manager info
use *;
use ;
Contribute
Pull requests are always welcome. However understand that they will be evaluated purely on whether or not the change fits with my goals/ideals for the project.
License
This project is licensed under either of:
- MIT license LICENSE-MIT or http://opensource.org/licenses/MIT
- Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.