diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-08-01 20:27:43 +0200 |
|---|---|---|
| committer | a-kenji <aks.kenji@protonmail.com> | 2021-08-01 20:27:43 +0200 |
| commit | 9a5b6690af47236c16004a0ee4655500bad038a6 (patch) | |
| tree | db5721628960e6330a4b8598e30183e1a90f5a9e /example/multiple_tabs_layout_htop_command.yaml | |
| parent | Merge branch 'main' of https://github.com/zellij-org/zellij into tab-layout (diff) | |
| download | sl0ppij-9a5b6690af47236c16004a0ee4655500bad038a6.tar.gz sl0ppij-9a5b6690af47236c16004a0ee4655500bad038a6.tar.xz sl0ppij-9a5b6690af47236c16004a0ee4655500bad038a6.zip | |
Add example tab layouts
Diffstat (limited to 'example/multiple_tabs_layout_htop_command.yaml')
| -rw-r--r-- | example/multiple_tabs_layout_htop_command.yaml | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/example/multiple_tabs_layout_htop_command.yaml b/example/multiple_tabs_layout_htop_command.yaml new file mode 100644 index 00000000..6739eba8 --- /dev/null +++ b/example/multiple_tabs_layout_htop_command.yaml @@ -0,0 +1,85 @@ +--- +direction: Horizontal +parts: + - direction: Vertical + split_size: + Fixed: 1 + run: + plugin: tab-bar + - direction: Vertical + tabs: + - direction: Vertical + parts: + - direction: Vertical + split_size: + Percent: 50 + run: + command: {cmd: htop} + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + parts: + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + parts: + - direction: Vertical + split_size: + Percent: 50 + - direction: Horizontal + split_size: + Percent: 50 + parts: + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + - direction: Vertical + run: + command: {cmd: htop, args: ["-C"]} + - direction: Vertical + - direction: Vertical + parts: + - direction: Vertical + split_size: + Percent: 20 + run: + plugin: strider + - direction: Horizontal + split_size: + Percent: 80 + parts: + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + parts: + - direction: Vertical + split_size: + Percent: 40 + - direction: Horizontal + split_size: + Percent: 60 + parts: + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + split_size: + Percent: 50 + - direction: Vertical + split_size: + Fixed: 2 + run: + plugin: status-bar |
