https://github.com/JayceFayne/swayipc-rs
A library for controlling sway through its IPC interface
https://github.com/JayceFayne/swayipc-rs
async ipc rust sway
Last synced: about 2 months ago
JSON representation
A library for controlling sway through its IPC interface
- Host: GitHub
- URL: https://github.com/JayceFayne/swayipc-rs
- Owner: JayceFayne
- License: mit
- Created: 2019-11-29T11:26:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-30T15:14:49.000Z (5 months ago)
- Last Synced: 2025-01-26T09:28:53.193Z (4 months ago)
- Topics: async, ipc, rust, sway
- Language: Rust
- Size: 187 KB
- Stars: 92
- Watchers: 3
- Forks: 28
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# swayipc [![Action Badge]][actions] [![Version Badge]][crates.io] [![License Badge]][license]
[Version Badge]: https://img.shields.io/crates/v/swayipc.svg
[crates.io]: https://crates.io/crates/swayipc
[Action Badge]: https://github.com/JayceFayne/swayipc-rs/workflows/Rust/badge.svg
[actions]: https://github.com/JayceFayne/swayipc-rs/actions
[License Badge]: https://img.shields.io/crates/l/swayipc.svg
[license]: https://github.com/JayceFayne/swayipc-rs/blob/master/LICENSE.mdA Rust library for controlling swaywm through its [IPC interface](https://github.com/swaywm/sway/blob/master/sway/sway-ipc.7.scd).
This repository contains [swayipc](blocking) a blocking way to communicate with sway and [swayipc-async](async) for asynchronus communication.## Usage
Examples of how to use the library can be found [here](examples).
## i3 compatibility
[i3](https://github.com/i3/i3) compatibility is kept if possible even though this library primarily targets sway.
## Versioning
This library targets the latest stable release of [sway](https://github.com/swaywm/sway).
## Contributing
If you find any errors in swayipc-rs or just want to add a new feature feel free to [submit a PR](https://github.com/jaycefayne/swayipc-rs/pulls).
## Credits
- [Michael Stapelberg](https://github.com/stapelberg) for his awesome work implementing the i3ipc protocol in [go](https://github.com/i3/go-i3).
- [Trevor Merrifield](https://github.com/tmerr) for his awesome work implementing the i3ipc protocol in [rust](https://github.com/tmerr/i3ipc-rs).
- And ofc [Drew DeVault](https://github.com/ddevault) and all the sway contributors for creating sway.