fix(alacritty): backport downstream configuration #345

Merged
jalil merged 1 commit from push-zzpruzsotqpt into main 2025-03-10 22:01:58 +01:00

View file

@ -108,7 +108,15 @@ in
return config
'';
};
alacritty.enable = cfg.terminal == "alacritty";
alacritty.settings = {
enable = cfg.terminal == "alacritty";
# hide mouse when typing, this ensures I don't have to move the mouse when it hides text
mouse.hide_when_typing = true;
# Start zellij when it is enabled
terminal.shell = lib.mkIf (config.jhome.dev.enable && config.programs.zellij.enable) {
program = "${lib.getExe config.programs.zellij.package}";
};
};
zellij.enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
# PDF reader
zathura.enable = true;