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

app river-luatile

Write your own river layout generator in lua

4 releases

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

#366 in Development tools

Download history 1/week @ 2024-12-15 104/week @ 2025-01-12 21/week @ 2025-01-19 4/week @ 2025-02-02

129 downloads per month

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–9MB
~92K SLoC