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 = {
|
||||
enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
|
||||
# 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";
|
||||
};
|
||||
};
|
||||
# alacritty has no terminal multiplexer built-in use zellij
|
||||
zellij.enable = cfg.terminal == "alacritty";
|
||||
# PDF reader
|
||||
zathura.enable = true;
|
||||
# Auto start sway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue