A library for controlling sway through its IPC interface
Find a file
Tobias Wölfel f226ba6f5b Allow empty field status_command
Do not require the field `status_command` to be a String type.
Make it possible for deserialize to handle `null` value.

If the field `status_command` is not set in sway, the returned value in
`null`. This can be seen with `swaymsg -t get_bar_config bar-0`.
In case of `null` the test `get_bar_ids_and_one_config()` fails.

After making the field optional, serde does not crash and the test
passes.
2024-12-30 16:14:49 +01:00
.github/workflows refactor 2020-10-30 14:25:52 +01:00
async swayipc-async: 2.0.4 2024-11-11 20:10:31 +01:00
blocking swayipc: 3.0.3 2024-11-11 20:12:32 +01:00
examples examples: bump deps 2022-01-08 23:43:48 +01:00
types Allow empty field status_command 2024-12-30 16:14:49 +01:00
.gitignore Update .gitignore 2021-09-23 07:57:04 +00:00
Cargo.toml update deps 2023-11-22 21:56:56 +01:00
LICENSE.md 2022 2022-01-08 23:44:06 +01:00
README.md fixes #33 2022-01-08 23:59:26 +01:00

swayipc Action Badge Version Badge License Badge

A Rust library for controlling swaywm through its IPC interface. This repository contains swayipc a blocking way to communicate with sway and swayipc-async for asynchronus communication.

Usage

Examples of how to use the library can be found here.

i3 compatibility

i3 compatibility is kept if possible even though this library primarily targets sway.

Versioning

This library targets the latest stable release of sway.

Contributing

If you find any errors in swayipc-rs or just want to add a new feature feel free to submit a PR.

Credits