feat: init ssh layout

This commit is contained in:
notohh 2023-03-11 19:28:15 -05:00
parent 5dd25c49b9
commit 4578e6245a
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -2,7 +2,7 @@
default, default,
... ...
}: { }: {
home.file.".config/zellij/mainlayout.kdl".text = '' home.file.".config/zellij/dev.kdl".text = ''
layout { layout {
tab name="main" { tab name="main" {
pane size=1 borderless=true { 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"
}
}
}
'';
} }