snowflake/home/programs/zellij/layouts.nix

66 lines
1.7 KiB
Nix
Raw Normal View History

2023-06-11 02:08:06 -04:00
_: {
2023-03-11 21:26:02 -05:00
home.file.".config/zellij/snowflake.kdl".text = ''
2023-04-23 17:45:37 -04:00
layout {
tab name="main" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
}
pane split_direction="vertical" {
pane size="110"
pane split_direction="horizontal" {
pane
pane
}
2023-03-11 19:05:07 -05:00
}
2023-04-23 17:45:37 -04:00
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
2023-03-11 19:05:07 -05:00
}
2023-04-23 17:45:37 -04:00
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"
}
2023-03-11 19:05:07 -05:00
}
2023-04-23 17:45:37 -04:00
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:05:07 -05:00
}
}
'';
2023-03-11 19:28:15 -05:00
2023-05-12 03:24:39 -04:00
home.file."./.config/zellij/ssh.kdl".text = ''
2023-04-23 17:45:37 -04:00
layout {
tab name="ssh" {
pane size=1 borderless=true {
plugin location="zellij:tab-bar"
2023-03-11 19:28:15 -05:00
}
2023-04-23 17:45:37 -04:00
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"
}
2023-03-11 19:28:15 -05:00
}
}
2023-04-23 17:45:37 -04:00
pane size=2 borderless=true {
plugin location="zellij:status-bar"
}
2023-03-11 19:28:15 -05:00
}
}
2023-03-11 19:48:05 -05:00
2023-03-11 19:28:15 -05:00
'';
2023-03-11 19:05:07 -05:00
}