Some minor tweaks to make things work for LaTeX
This commit is contained in:
parent
0ac4989812
commit
e83d9106f1
|
@ -1,48 +1,48 @@
|
||||||
{ pkgs, config, lib, ... } :
|
{ pkgs, config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
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";
|
||||||
};
|
};
|
||||||
shell = {
|
shell = {
|
||||||
program = "/bin/sh";
|
program = "/bin/sh";
|
||||||
args = [ "-ic" "fish" ];
|
args = [ "-ic" "fish" ];
|
||||||
};
|
};
|
||||||
colors = {
|
colors = {
|
||||||
# Default colors
|
# Default colors
|
||||||
primary.background = "0xf1f1f1";
|
primary.background = "0xf1f1f1";
|
||||||
primary.foreground = "0x424242";
|
primary.foreground = "0x424242";
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
normal.black = "0x212121";
|
normal.black = "0x212121";
|
||||||
normal.red = "0xc30771";
|
normal.red = "0xc30771";
|
||||||
normal.green = "0x10a778";
|
normal.green = "0x10a778";
|
||||||
normal.yellow = "0xa89c14";
|
normal.yellow = "0xa89c14";
|
||||||
normal.blue = "0x008ec4";
|
normal.blue = "0x008ec4";
|
||||||
normal.magenta = "0x523c79";
|
normal.magenta = "0x523c79";
|
||||||
normal.cyan = "0x20a5ba";
|
normal.cyan = "0x20a5ba";
|
||||||
normal.white = "0xe0e0e0";
|
normal.white = "0xe0e0e0";
|
||||||
|
|
||||||
# Bright colors
|
# Bright colors
|
||||||
bright.black = "0x212121";
|
bright.black = "0x212121";
|
||||||
bright.red = "0xfb007a";
|
bright.red = "0xfb007a";
|
||||||
bright.green = "0x5fd7af";
|
bright.green = "0x5fd7af";
|
||||||
bright.yellow = "0xf3e430";
|
bright.yellow = "0xf3e430";
|
||||||
bright.blue = "0x20bbfc";
|
bright.blue = "0x20bbfc";
|
||||||
bright.magenta = "0x6855de";
|
bright.magenta = "0x6855de";
|
||||||
bright.cyan = "0x4fb8cc";
|
bright.cyan = "0x4fb8cc";
|
||||||
bright.white = "0xf1f1f1";
|
bright.white = "0xf1f1f1";
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
@ -64,7 +66,7 @@
|
||||||
BAT_THEME = "GitHub";
|
BAT_THEME = "GitHub";
|
||||||
# Editor
|
# Editor
|
||||||
EDITOR = "kak";
|
EDITOR = "kak";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
# Sometimes we want to install custom scripts here
|
# Sometimes we want to install custom scripts here
|
||||||
|
|
|
@ -80,10 +80,11 @@ 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