-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-layout.yaml
41 lines (41 loc) · 1019 Bytes
/
example-layout.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Example Zellij layout
# ====================
#
# Usage:
#
# cargo build --release
# zellij --layout example-layout.yaml
#
# If you don't see the tab bar and this plugin, try disabling pane frames (^p z).
template:
direction: Horizontal
parts:
- borderless: true
direction: Vertical
split_size:
Fixed: 1
parts:
- borderless: true
direction: Horizontal
run:
plugin:
location: zellij:tab-bar
- borderless: true
direction: Horizontal
run:
plugin:
location: file:target/wasm32-wasi/release/zellij-cpulamp.wasm
# zellij-cpulamp needs to launch an external process to work around
# zellij-org/zellij#896 and get access to `/proc/stat`
_allow_exec_host_cmd: true
split_size:
Fixed: 2 # show up to 8*2 cpus
- body: true
direction: Vertical
- borderless: true
direction: Vertical
run:
plugin:
location: zellij:status-bar
split_size:
Fixed: 2