snowflake/home/zellij/layouts.nix
2023-03-11 19:28:15 -05:00

67 lines
1.5 KiB
Nix

{
default,
...
}: {
home.file.".config/zellij/dev.kdl".text = ''
layout {
tab name="main" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane
pane split_direction="horizontal" {
pane
pane
}
}
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}
tab name="lazygit" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane command="lazygit"
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}
tab name="spotify" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane command="spotify_player"
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
}
}
'';
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"
}
}
}
'';
}