mirror of
https://github.com/alexpasmantier/television.git
synced 2025-07-29 06:11:37 +00:00

This PR adds support for customizing * input_header * preview_header * preview_footer all the items are of type MultiTemplate, this gives some flexibility when showing the selected value, let's say on the preview header, if it's long or you want only a section --------- Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
16 lines
281 B
TOML
16 lines
281 B
TOML
[metadata]
|
|
name = "env"
|
|
description = "A channel to select from environment variables"
|
|
|
|
[source]
|
|
command = "printenv"
|
|
output = "{split:=:1..}" # output the value
|
|
|
|
[preview]
|
|
command = "echo '{split:=:1..}'"
|
|
|
|
[ui]
|
|
layout = "portrait"
|
|
preview_size = 20
|
|
preview_header = "{split:=:0}"
|