refactor(hand7s): zellij layouts
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
a096802531
commit
e7ddec2ba2
1 changed files with 64 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|
@ -7,6 +7,68 @@
|
||||||
zellij = {
|
zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
layouts = {
|
||||||
|
"workspace" = {
|
||||||
|
layout = {
|
||||||
|
default_tab_template = {
|
||||||
|
children = [
|
||||||
|
{
|
||||||
|
pane = {
|
||||||
|
size = 1;
|
||||||
|
plugin = {
|
||||||
|
location = "zellij:tab-bar";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
{"children" = {};}
|
||||||
|
|
||||||
|
{
|
||||||
|
pane = {
|
||||||
|
size = 2;
|
||||||
|
plugin = {
|
||||||
|
location = "zellij:tab-bar";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
tab = {
|
||||||
|
name = "workspace";
|
||||||
|
focus = true;
|
||||||
|
pane = {
|
||||||
|
split_direction = "vertical";
|
||||||
|
children = [
|
||||||
|
{
|
||||||
|
pane = {
|
||||||
|
size = "30%";
|
||||||
|
split_direction = "horizontal";
|
||||||
|
children = [
|
||||||
|
{
|
||||||
|
command = "${lib.getExe config.programs.gitui.package}";
|
||||||
|
size = "50%";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
focus = true;
|
||||||
|
size = "50%";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
command = "${lib.getExe' config.programs.yazi.package "yz"}";
|
||||||
|
size = "70%";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
options = {
|
options = {
|
||||||
copy_on_select = false;
|
copy_on_select = false;
|
||||||
|
|
@ -31,7 +93,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
default_shell = "${lib.getExe pkgs.nushell}";
|
default_shell = "${lib.getExe config.programs.nushell.package}";
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
show_release_notes = false;
|
show_release_notes = false;
|
||||||
simplified_ui = true;
|
simplified_ui = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue