refactor: 📦 Convert zellij config
Auto-close panes on quit.
This commit is contained in:
parent
afbb317403
commit
4598330506
|
@ -1,39 +1,23 @@
|
||||||
---
|
layout {
|
||||||
template:
|
default_tab_template {
|
||||||
direction: Horizontal
|
pane size=1 borderless=true {
|
||||||
parts:
|
plugin location="zellij:tab-bar"
|
||||||
- direction: Vertical
|
}
|
||||||
borderless: true
|
children
|
||||||
split_size:
|
}
|
||||||
Fixed: 1
|
tab split_direction="Vertical" {
|
||||||
run:
|
pane split_direction="Vertical" {
|
||||||
plugin:
|
pane command="bash" borderless=true close_on_exit=true {
|
||||||
location: "zellij:tab-bar"
|
args "-c" "bash emulation/qemu_multi_uart.sh"
|
||||||
- direction: Vertical
|
}
|
||||||
body: true
|
pane split_direction="Horizontal" {
|
||||||
|
pane command="bash" size="30%" close_on_exit=true {
|
||||||
tabs:
|
args "-c" "clear; echo -e \"\\033]0;MiniUart\\007\"; bash /dev/ptmx FIRST=1"
|
||||||
- direction: Vertical
|
}
|
||||||
parts:
|
pane command="bash" size="70%" close_on_exit=true {
|
||||||
- direction: Horizontal
|
args "-c" "clear; echo -e \"\\033]0;PL011 Uart\\007\"; bash /dev/ptmx SECOND=1"
|
||||||
borderless: true
|
}
|
||||||
run:
|
}
|
||||||
command:
|
}
|
||||||
cmd: "bash"
|
}
|
||||||
args: ["-c", "bash emulation/qemu_multi_uart.sh"]
|
}
|
||||||
- direction: Horizontal
|
|
||||||
parts:
|
|
||||||
- direction: Vertical
|
|
||||||
split_size:
|
|
||||||
Percent: 30
|
|
||||||
run:
|
|
||||||
command:
|
|
||||||
cmd: "bash"
|
|
||||||
args: ["-c", "clear; echo -e \"\\033]0;MiniUart\\007\"; bash /dev/ptmx FIRST=1"]
|
|
||||||
- direction: Vertical
|
|
||||||
split_size:
|
|
||||||
Percent: 70
|
|
||||||
run:
|
|
||||||
command:
|
|
||||||
cmd: "bash"
|
|
||||||
args: ["-c", "clear; echo -e \"\\033]0;PL011 Uart\\007\"; bash /dev/ptmx SECOND=1"]
|
|
||||||
|
|
Loading…
Reference in New Issue