Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.12 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.12 KB

swayipc-zig

A Zig 0.12 library for controlling swaywm through its IPC interface.

Usage

Examples of how to use the library can be found here. Add swayipc as dependency by modifying your build.zig.zon and build.zig files respectively:

.{
    .name = "app",
    .version = "0.2.0",
    .dependencies = .{
        .swayipc = .{
            .url = "https://github.com/JayceFayne/swayipc-zig/archive/<COMMIT_HASH>.tar.gz",
        },
    },
}
exe.addModule("swayipc", b.dependency("swayipc", .{}).module("swayipc"));

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 and the latest release of zig

Contributing

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