helvum/docs/example_layout.toml
Kasper Nyhus ac08b1c312 feat: add TOML configuration for node layout
Add custom column based layout configuration using simple glob style
pattern matching on node names.

It will look for configuration files located in ~/.config/helvum or in
the cwd (which takes precedence).

The configuration is validated before being used.
2025-08-26 23:00:53 +02:00

21 lines
490 B
TOML

# Example Helvum Configuration
[layout]
columns = [
{ x = 20, name = "sources" },
{ x = 500, name = "filters" },
{ x = 950, name = "apps" },
{ x = 1200, name = "sinks" }
]
rules = [
{ pattern = "Firefox*", column = "sources" },
{ pattern = "vlc*", column = "sources" },
{ pattern = "Built-in*", column = "sources", node_type = "source" },
{ pattern = "Built-in*", column = "sinks", node_type = "sink" },
]
[layout.defaults]
source = 20
other = 500
sink = 1200