Skip to content

Commit

Permalink
Add toml example
Browse files Browse the repository at this point in the history
  • Loading branch information
Evertras committed Jan 30, 2024
1 parent 8c409bd commit faeb3b5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/toml.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit faeb3b5

Please sign in to comment.