Skip to content

River configuration with the power of a programming language.

License

Notifications You must be signed in to change notification settings

nitrogenez/zig-river-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-river-config

zig-river-config is a Zig library made for river wayland compositor configuration. It provides an API to define your configuration for the compositor while still having the power of a low-level, robust, and fast programming language. The version of zig-river-config is the same as the version of river. zig-river-config has no official affiliation with the riverwm organisation.

Warning

Keep in mind, that when working with a low-level programming language like Zig you need to manage your resources manually. Any damage dealt to your machine is not my responsibility.

Examples

For examples see the default init.

Usage

First of, run zig fetch --save "git+https://github.com/nitrogenez/zig-river-config#COMMIT_HASH". After that you need to add something like that to your build.zig:

build.zig
const zrc_dep = b.dependency("zig_river_config", .{ .optimize = optimize, .target = target });
your_exe.root_module.addImport("zrc", zrc_dep.module("zig-river-config"));

License

This software is licensed under the 3-Clause BSD License. See LICENSE for more info.