Update layout

This commit is contained in:
muon 2025-09-27 09:54:25 +00:00
parent fe2c22214e
commit c859f074e5
5 changed files with 56 additions and 17 deletions

View file

@ -4,7 +4,11 @@
config,
inputs,
...
}: {
}: let
zellij-muon = pkgs.zellij.overrideAttrs (previousAttrs: {
patches = previousAttrs.patches ++ [./zellij/floating_fix.patch];
});
in {
options.mods.terminal.development.enable =
lib.mkEnableOption "enables cli editor";
@ -40,7 +44,7 @@
show_release_notes._args = [false];
};
extraConfig = builtins.readFile ./zellij.kdl;
extraConfig = builtins.readFile ./zellij/config.kdl;
layouts = {
dev = {
@ -61,7 +65,7 @@
{"children" = {};}
{
pane = {
size = 2;
size = 1;
borderless = true;
plugin = {
location = "zellij:status-bar";
@ -74,13 +78,14 @@
{
tab = {
_props = {
name = "Project";
name = "project";
focus = true;
};
_children = [
{
pane = {
command = "nvim";
command = "zsh";
args = ["-c" "nvim"];
};
}
];
@ -89,7 +94,7 @@
{
tab = {
_props = {
name = "Run";
name = "test";
};
_children = [
{
@ -103,12 +108,12 @@
{
tab = {
_props = {
name = "Test";
name = "git";
};
_children = [
{
pane = {
command = "zsh";
command = "lazygit";
};
}
];