fix(alacritty): backport downstream configuration
All checks were successful
/ check (nvimDev) (push) Successful in 5s
/ check (nvimHeadless) (push) Successful in 2s
/ check (nvimNoBundledBins) (push) Successful in 4s
/ check (nvimNoLsp) (push) Successful in 4s
/ check (nvimNoTSGrammars) (push) Successful in 5s
/ check (treefmt) (push) Successful in 2s
/ check-renovaterc (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
/ report-size (push) Successful in 3s
All checks were successful
/ check (nvimDev) (push) Successful in 5s
/ check (nvimHeadless) (push) Successful in 2s
/ check (nvimNoBundledBins) (push) Successful in 4s
/ check (nvimNoLsp) (push) Successful in 4s
/ check (nvimNoTSGrammars) (push) Successful in 5s
/ check (treefmt) (push) Successful in 2s
/ check-renovaterc (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
/ report-size (push) Successful in 3s
- Set `mouse.hide_when_typing` - Use `zellij` when it is enabled
This commit is contained in:
parent
4b919d37d5
commit
7cf2ccdc19
1 changed files with 9 additions and 1 deletions
|
@ -108,7 +108,15 @@ in
|
||||||
return config
|
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
|
zellij.enable = cfg.terminal == "alacritty"; # alacritty has no terminal multiplexer built-in
|
||||||
# PDF reader
|
# PDF reader
|
||||||
zathura.enable = true;
|
zathura.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue