snowflake/home/zellij/layouts.nix

69 lines
1.5 KiB
Nix
Raw Normal View History

2023-03-11 19:05:07 -05:00
{
default,
...
}: {
2023-03-11 19:28:15 -05:00
home.file.".config/zellij/dev.kdl".text = ''
2023-03-11 19:05:07 -05:00
layout {
tab name="main" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
2023-03-11 19:48:05 -05:00
pane size="120"
2023-03-11 19:05:07 -05:00
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"
}
}
}
'';
2023-03-11 19:28:15 -05:00
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"
}
}
}
2023-03-11 19:48:05 -05:00
2023-03-11 19:28:15 -05:00
'';
2023-03-11 19:05:07 -05:00
}