feat: init ssh layout
This commit is contained in:
parent
5dd25c49b9
commit
4578e6245a
1 changed files with 25 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
default,
|
||||
...
|
||||
}: {
|
||||
home.file.".config/zellij/mainlayout.kdl".text = ''
|
||||
home.file.".config/zellij/dev.kdl".text = ''
|
||||
layout {
|
||||
tab name="main" {
|
||||
pane size=1 borderless=true {
|
||||
|
@ -40,4 +40,28 @@
|
|||
}
|
||||
|
||||
'';
|
||||
|
||||
home.file.".config/zellij/ssh.kdl".text = ''
|
||||
layout {
|
||||
tab name="ssh" {
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:tab-bar"
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
pane split_direction="horizontal" {
|
||||
pane command="ssh" {
|
||||
args "oh@100.117.178.88"
|
||||
}
|
||||
pane command="ssh" {
|
||||
args "oh@100.103.228.56"
|
||||
}
|
||||
}
|
||||
}
|
||||
pane size=2 borderless=true {
|
||||
plugin location="zellij:status-bar"
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue