An open API service indexing awesome lists of open source software.

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

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.md

A 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.