This is a little program that lets you write your own river layout generator in lua.
See the example (and the default) layout here. The example should be self-explanatory™.
The layout must be located at $XDG_CONFIG_HOME/river-luatile/layout.lua
or
~/.config/river-luatile/layout.lua
.
The layout namespace (for now) is always luatile
.
Your layout must at least implement the function handle_layout()
and
optionally a function handle_metadata()
, which will be used to query
metadata about the layout. Currently, the layout name is the only metadata
supported, see the example.
cargo install river-luatile --locked