#lua #layout #generator #river #write #own #luatile

app river-luatile

Write your own river layout generator in lua

3 releases

0.1.3 Jun 20, 2023
0.1.2 Mar 28, 2023
0.1.1 Mar 23, 2023

#1762 in Development tools

GPL-3.0-only

21KB
168 lines

river-luatile

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.

Installation

Packaging status

From source

cargo install river-luatile --locked

Dependencies

~8–20MB
~246K SLoC