fix(zellij): configure even if disabled #587
2 changed files with 15 additions and 14 deletions
|
@ -172,6 +172,19 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# configure zellij without enabling it
|
||||||
|
zellij.settings = {
|
||||||
|
show_startup_tips = false; # disable the startup tips dialogue
|
||||||
|
# Set default shell
|
||||||
|
default_shell =
|
||||||
|
if config.programs.fish.enable then
|
||||||
|
"fish"
|
||||||
|
else if config.programs.zsh.enable then
|
||||||
|
"zsh"
|
||||||
|
else
|
||||||
|
"bash";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -169,20 +169,8 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
zellij = {
|
# alacritty has no terminal multiplexer built-in use zellij
|
||||||
enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
|
zellij.enable = cfg.terminal == "alacritty";
|
||||||
# Set default shell
|
|
||||||
settings = {
|
|
||||||
show_startup_tips = false; # disable the startup tips dialogue
|
|
||||||
default_shell =
|
|
||||||
if config.programs.fish.enable then
|
|
||||||
"fish"
|
|
||||||
else if config.programs.zsh.enable then
|
|
||||||
"zsh"
|
|
||||||
else
|
|
||||||
"bash";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# PDF reader
|
# PDF reader
|
||||||
zathura.enable = true;
|
zathura.enable = true;
|
||||||
# Auto start sway
|
# Auto start sway
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue