Skip to content

A library for controlling sway through its IPC interface

License

Notifications You must be signed in to change notification settings

JayceFayne/swayipc-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A library for controlling sway through its IPC interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages