diff --git a/homeManagerModules/apps/alacritty/default.nix b/homeManagerModules/apps/alacritty/default.nix index 31bd8a7d..856ca834 100644 --- a/homeManagerModules/apps/alacritty/default.nix +++ b/homeManagerModules/apps/alacritty/default.nix @@ -14,18 +14,18 @@ settings = { colors = { primary = { - foreground = "#fafafa"; - background = "#232634"; + foreground = "${config.alyraffauf.desktop.theme.colors.text}"; + background = "${config.alyraffauf.desktop.theme.colors.background}"; }; transparent_background_colors = true; draw_bold_text_with_bright_colors = true; }; font = { normal = { - family = "NotoSansMNerdFont"; + family = "${config.alyraffauf.desktop.theme.terminalFont.name}"; style = "Regular"; }; - size = 11; + size = config.alyraffauf.desktop.theme.terminalFont.size; }; selection.save_to_clipboard = true; window = { diff --git a/homeManagerModules/desktop/theme.nix b/homeManagerModules/desktop/theme.nix index 64e854ef..750b0238 100644 --- a/homeManagerModules/desktop/theme.nix +++ b/homeManagerModules/desktop/theme.nix @@ -96,6 +96,11 @@ default = "#FAFAFA"; type = lib.types.str; }; + background = lib.mkOption { + description = "Background color."; + default = "#232634"; + type = lib.types.str; + }; primary = lib.mkOption { description = "Primary color."; default = "#CA9EE6";