├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.toml ├── LICENSE.md ├── README.md ├── async ├── Cargo.toml ├── README.md └── src │ ├── common.rs │ ├── connection.rs │ ├── event.rs │ ├── lib.rs │ ├── socket.rs │ └── tests.rs ├── blocking ├── Cargo.toml ├── README.md └── src │ ├── common.rs │ ├── connection.rs │ ├── event.rs │ ├── lib.rs │ ├── socket.rs │ └── tests.rs ├── examples ├── command_loop │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── command_loop_async_std │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── event_printer │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── event_printer_tokio │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── hovered_window │ ├── Cargo.toml │ └── src │ │ └── main.rs └── hovered_window_futures_lite │ ├── Cargo.toml │ └── src │ └── main.rs └── types ├── Cargo.toml ├── README.md └── src ├── command.rs ├── error ├── command_outcome.rs ├── command_type.rs ├── event.rs └── mod.rs ├── event.rs ├── lib.rs ├── reply.rs └── utils ├── event.rs ├── mod.rs ├── node.rs └── serde.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | Cargo.lock 2 | target 3 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/README.md -------------------------------------------------------------------------------- /async/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/Cargo.toml -------------------------------------------------------------------------------- /async/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/README.md -------------------------------------------------------------------------------- /async/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/common.rs -------------------------------------------------------------------------------- /async/src/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/connection.rs -------------------------------------------------------------------------------- /async/src/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/event.rs -------------------------------------------------------------------------------- /async/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/lib.rs -------------------------------------------------------------------------------- /async/src/socket.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/socket.rs -------------------------------------------------------------------------------- /async/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/async/src/tests.rs -------------------------------------------------------------------------------- /blocking/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/Cargo.toml -------------------------------------------------------------------------------- /blocking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/README.md -------------------------------------------------------------------------------- /blocking/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/common.rs -------------------------------------------------------------------------------- /blocking/src/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/connection.rs -------------------------------------------------------------------------------- /blocking/src/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/event.rs -------------------------------------------------------------------------------- /blocking/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/lib.rs -------------------------------------------------------------------------------- /blocking/src/socket.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/socket.rs -------------------------------------------------------------------------------- /blocking/src/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/blocking/src/tests.rs -------------------------------------------------------------------------------- /examples/command_loop/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/command_loop/Cargo.toml -------------------------------------------------------------------------------- /examples/command_loop/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/command_loop/src/main.rs -------------------------------------------------------------------------------- /examples/command_loop_async_std/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/command_loop_async_std/Cargo.toml -------------------------------------------------------------------------------- /examples/command_loop_async_std/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/command_loop_async_std/src/main.rs -------------------------------------------------------------------------------- /examples/event_printer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/event_printer/Cargo.toml -------------------------------------------------------------------------------- /examples/event_printer/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/event_printer/src/main.rs -------------------------------------------------------------------------------- /examples/event_printer_tokio/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/event_printer_tokio/Cargo.toml -------------------------------------------------------------------------------- /examples/event_printer_tokio/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/event_printer_tokio/src/main.rs -------------------------------------------------------------------------------- /examples/hovered_window/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/hovered_window/Cargo.toml -------------------------------------------------------------------------------- /examples/hovered_window/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/hovered_window/src/main.rs -------------------------------------------------------------------------------- /examples/hovered_window_futures_lite/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/hovered_window_futures_lite/Cargo.toml -------------------------------------------------------------------------------- /examples/hovered_window_futures_lite/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/examples/hovered_window_futures_lite/src/main.rs -------------------------------------------------------------------------------- /types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/Cargo.toml -------------------------------------------------------------------------------- /types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/README.md -------------------------------------------------------------------------------- /types/src/command.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/command.rs -------------------------------------------------------------------------------- /types/src/error/command_outcome.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/error/command_outcome.rs -------------------------------------------------------------------------------- /types/src/error/command_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/error/command_type.rs -------------------------------------------------------------------------------- /types/src/error/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/error/event.rs -------------------------------------------------------------------------------- /types/src/error/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/error/mod.rs -------------------------------------------------------------------------------- /types/src/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/event.rs -------------------------------------------------------------------------------- /types/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/lib.rs -------------------------------------------------------------------------------- /types/src/reply.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/reply.rs -------------------------------------------------------------------------------- /types/src/utils/event.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/utils/event.rs -------------------------------------------------------------------------------- /types/src/utils/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/utils/mod.rs -------------------------------------------------------------------------------- /types/src/utils/node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/utils/node.rs -------------------------------------------------------------------------------- /types/src/utils/serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JayceFayne/swayipc-rs/HEAD/types/src/utils/serde.rs --------------------------------------------------------------------------------