Some minor tweaks to make things work for LaTeX

This commit is contained in:
Natsu Kagami 2022-03-14 13:35:03 -04:00
parent 0ac4989812
commit e83d9106f1
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 50 additions and 46 deletions

View file

@ -9,7 +9,7 @@
package = pkgs.unstable.alacritty;
settings = {
background_opacity = 0.95;
window.opacity = 0.95;
font = {
size = 14.0;
normal.family = "Fantasque Sans Mono Nerd Font";

View file

@ -52,6 +52,7 @@ in
bindingMode = { background = "#2f343a"; border = "#900000"; text = "#ffffff"; };
};
}];
config.focus.newWindow = "none";
config.fonts = { names = [ "FantasqueSansMono Nerd Font Mono" "monospace" ]; size = 11.0; };
config.gaps.outer = 5;
config.gaps.inner = 5;

View file

@ -33,6 +33,8 @@
## Latex
tectonic
texlab
## Python
python310
# Fonts
fantasque-sans-mono

View file

@ -80,9 +80,10 @@ in
(if pkgs.stdenv.isDarwin then {
executable = "/Applications/Skim.app/Contents/SharedSupport/displayline";
args = [ "-r" "-g" "%l" "%p" "%f" ];
} else {
executable = "${evince-synctex}";
args = [ "-f" "%l" "%p" "\"${config.home.file.kaktex.source} jump %f %l\"" ];
} else
{
executable = "${pkgs.qpdfview}/bin/qpdfview";
args = [ "--unique" "%p#src:%f:%l:1" ];
});
};
};