diff --git a/home/zellij/layouts.nix b/home/zellij/layouts.nix index 700257a..65fa732 100644 --- a/home/zellij/layouts.nix +++ b/home/zellij/layouts.nix @@ -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" + } + } +} + ''; }