A Rust library for controlling swaywm through its IPC interface. This library can be used in either a synchronous or asynchronous manner. The async feature can be enabled by adding the following to your Cargo.toml:
toml
[dependencies.swayipc]
features = ["async"]
Examples of how to use the library can be found here.
This library targets the latest stable release of sway.
If you find any errors in swayipc-rs or just want to add a new feature feel free to submit a PR.