Some minor tweaks to make things work for LaTeX
This commit is contained in:
parent
0ac4989812
commit
e83d9106f1
|
@ -9,7 +9,7 @@
|
||||||
package = pkgs.unstable.alacritty;
|
package = pkgs.unstable.alacritty;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = 0.95;
|
window.opacity = 0.95;
|
||||||
font = {
|
font = {
|
||||||
size = 14.0;
|
size = 14.0;
|
||||||
normal.family = "Fantasque Sans Mono Nerd Font";
|
normal.family = "Fantasque Sans Mono Nerd Font";
|
||||||
|
|
|
@ -52,6 +52,7 @@ in
|
||||||
bindingMode = { background = "#2f343a"; border = "#900000"; text = "#ffffff"; };
|
bindingMode = { background = "#2f343a"; border = "#900000"; text = "#ffffff"; };
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
config.focus.newWindow = "none";
|
||||||
config.fonts = { names = [ "FantasqueSansMono Nerd Font Mono" "monospace" ]; size = 11.0; };
|
config.fonts = { names = [ "FantasqueSansMono Nerd Font Mono" "monospace" ]; size = 11.0; };
|
||||||
config.gaps.outer = 5;
|
config.gaps.outer = 5;
|
||||||
config.gaps.inner = 5;
|
config.gaps.inner = 5;
|
||||||
|
|
|
@ -33,6 +33,8 @@
|
||||||
## Latex
|
## Latex
|
||||||
tectonic
|
tectonic
|
||||||
texlab
|
texlab
|
||||||
|
## Python
|
||||||
|
python310
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
fantasque-sans-mono
|
fantasque-sans-mono
|
||||||
|
|
|
@ -80,9 +80,10 @@ in
|
||||||
(if pkgs.stdenv.isDarwin then {
|
(if pkgs.stdenv.isDarwin then {
|
||||||
executable = "/Applications/Skim.app/Contents/SharedSupport/displayline";
|
executable = "/Applications/Skim.app/Contents/SharedSupport/displayline";
|
||||||
args = [ "-r" "-g" "%l" "%p" "%f" ];
|
args = [ "-r" "-g" "%l" "%p" "%f" ];
|
||||||
} else {
|
} else
|
||||||
executable = "${evince-synctex}";
|
{
|
||||||
args = [ "-f" "%l" "%p" "\"${config.home.file.kaktex.source} jump %f %l\"" ];
|
executable = "${pkgs.qpdfview}/bin/qpdfview";
|
||||||
|
args = [ "--unique" "%p#src:%f:%l:1" ];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue