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

app river-luatile

Write your own river layout generator in lua

4 releases

new 0.1.4 Jan 16, 2025
0.1.3 Jun 20, 2023
0.1.2 Mar 28, 2023
0.1.1 Mar 23, 2023

#355 in Development tools

GPL-3.0-only

20KB
176 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

~3.5–9.5MB
~93K SLoC