From faeb3b5d049fba3ab039dac6dd919cf9aebbd6e8 Mon Sep 17 00:00:00 2001 From: Brandon Fulljames Date: Tue, 30 Jan 2024 12:28:26 +0900 Subject: [PATCH] Add toml example --- examples/toml.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/toml.toml diff --git a/examples/toml.toml b/examples/toml.toml new file mode 100644 index 0000000..a81f7d0 --- /dev/null +++ b/examples/toml.toml @@ -0,0 +1,25 @@ +[[layout.screens]] +stack = "horizontal" + +# Left half, split into two panes stacked on top of each other +[[layout.screens.children]] +stack = "vertical" + +[[layout.screens.children.children]] +name = "Hostname" +module = "command" +config.bash = "hostname" + +[[layout.screens.children.children]] +name = "Dir" +module = "command" +style.align-horizontal = "left" +config.bash = "ls --color" + +# Right half, all to itself +[[layout.screens.children]] +name = "Disk space" +module = "command" +interval = "1m" +style.align-horizontal = "left" +config.bash = "df -h"