From 4578e6245acbed4b174b98d736524a975a82bc40 Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 11 Mar 2023 19:28:15 -0500 Subject: [PATCH] feat: init ssh layout --- home/zellij/layouts.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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" + } + } +} + ''; }