kitty: move macos fonts to module
This commit is contained in:
parent
0f4fe1501b
commit
756cfaa3a8
2 changed files with 21 additions and 14 deletions
|
@ -14,17 +14,28 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration.enableFishIntegration = true;
|
||||||
|
|
||||||
settings = {
|
settings =
|
||||||
font_family = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight\"";
|
let
|
||||||
bold_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light\"";
|
macos_fonts = {
|
||||||
italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight Italic\"";
|
font_family = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light\"";
|
||||||
bold_italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light Italic\"";
|
bold_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular\"";
|
||||||
background = "#050505";
|
italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light Italic\"";
|
||||||
background_opacity = 0.98;
|
bold_italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular Italic\"";
|
||||||
font_size = 12;
|
};
|
||||||
|
linux_fonts = {
|
||||||
|
font_family = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight\"";
|
||||||
|
bold_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light\"";
|
||||||
|
italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"ExtraLight Italic\"";
|
||||||
|
bold_italic_font = "family=\"JetBrainsMono Nerd Font\" style=\"Light Italic\"";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
background = "#050505";
|
||||||
|
background_opacity = 0.98;
|
||||||
|
font_size = 12;
|
||||||
|
|
||||||
# allow_remote_control = "yes";
|
# allow_remote_control = "yes";
|
||||||
};
|
} // (if !macos then linux_fonts else macos_fonts);
|
||||||
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
|
|
|
@ -40,10 +40,6 @@
|
||||||
# '';
|
# '';
|
||||||
|
|
||||||
programs.kitty.settings = {
|
programs.kitty.settings = {
|
||||||
font_family = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light\"";
|
|
||||||
bold_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular\"";
|
|
||||||
italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Light Italic\"";
|
|
||||||
bold_italic_font = lib.mkForce "family=\"JetBrainsMono Nerd Font Mono\" style=\"Regular Italic\"";
|
|
||||||
background_opacity = lib.mkForce 0.94;
|
background_opacity = lib.mkForce 0.94;
|
||||||
background = lib.mkForce "#171717";
|
background = lib.mkForce "#171717";
|
||||||
font_size = lib.mkForce 16.0;
|
font_size = lib.mkForce 16.0;
|
||||||
|
|
Loading…
Reference in a new issue