mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add zellij config
This commit is contained in:
parent
70c21b81ed
commit
fe2c22214e
4 changed files with 337 additions and 1 deletions
|
|
@ -33,6 +33,93 @@
|
|||
enableZshIntegration = lib.mkIf config.mods.terminal.zsh.enable true;
|
||||
};
|
||||
|
||||
programs.zellij = {
|
||||
settings = {
|
||||
default_mode._args = ["locked"];
|
||||
show_startup_tips._args = [false];
|
||||
show_release_notes._args = [false];
|
||||
};
|
||||
|
||||
extraConfig = builtins.readFile ./zellij.kdl;
|
||||
|
||||
layouts = {
|
||||
dev = {
|
||||
layout = {
|
||||
_children = [
|
||||
{
|
||||
default_tab_template = {
|
||||
_children = [
|
||||
{
|
||||
pane = {
|
||||
size = 1;
|
||||
borderless = true;
|
||||
plugin = {
|
||||
location = "zellij:tab-bar";
|
||||
};
|
||||
};
|
||||
}
|
||||
{"children" = {};}
|
||||
{
|
||||
pane = {
|
||||
size = 2;
|
||||
borderless = true;
|
||||
plugin = {
|
||||
location = "zellij:status-bar";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
tab = {
|
||||
_props = {
|
||||
name = "Project";
|
||||
focus = true;
|
||||
};
|
||||
_children = [
|
||||
{
|
||||
pane = {
|
||||
command = "nvim";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
tab = {
|
||||
_props = {
|
||||
name = "Run";
|
||||
};
|
||||
_children = [
|
||||
{
|
||||
pane = {
|
||||
command = "zsh";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
tab = {
|
||||
_props = {
|
||||
name = "Test";
|
||||
};
|
||||
_children = [
|
||||
{
|
||||
pane = {
|
||||
command = "zsh";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables.EDITOR = "hx";
|
||||
programs.zsh.sessionVariables.EDITOR = "hx";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue