rockorager / swayipc-zig

A library for controlling sway through its IPC interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swayipc-zig

A Zig 0.11 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.0.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.

About

A library for controlling sway through its IPC interface


Languages

Language:Zig 100.0%