From b217997f7aeb9d069308f0ba09004f76497a7517 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 15 Aug 2024 10:15:40 -0400 Subject: [PATCH] harmonize font sizes --- homeManagerModules/apps/alacritty/default.nix | 9 --------- homeManagerModules/apps/vsCodium/default.nix | 8 -------- homeManagerModules/apps/zed/default.nix | 4 ++-- hosts/common/default.nix | 7 +++++++ 4 files changed, 9 insertions(+), 19 deletions(-) diff --git a/homeManagerModules/apps/alacritty/default.nix b/homeManagerModules/apps/alacritty/default.nix index f5f1e481..41dddbf5 100644 --- a/homeManagerModules/apps/alacritty/default.nix +++ b/homeManagerModules/apps/alacritty/default.nix @@ -14,15 +14,6 @@ in { transparent_background_colors = true; }; - font = { - normal = { - family = cfg.theme.monospaceFont.name; - style = "Regular"; - }; - - size = cfg.theme.monospaceFont.size + 1; - }; - selection.save_to_clipboard = true; window = { diff --git a/homeManagerModules/apps/vsCodium/default.nix b/homeManagerModules/apps/vsCodium/default.nix index 90bb5d1d..232a2b4c 100644 --- a/homeManagerModules/apps/vsCodium/default.nix +++ b/homeManagerModules/apps/vsCodium/default.nix @@ -82,13 +82,6 @@ in { "window.menuBarVisibility" = "hidden"; "window.titleBarStyle" = lib.mkDefault "native"; "window.zoomPerWindow" = false; - # "workbench.colorTheme" = - # if cfg.theme.darkMode - # then "Adwaita Dark" - # else "Adwaita Light"; - # "workbench.iconTheme" = "vs-seti"; - # "workbench.preferredDarkColorTheme" = "Adwaita Dark"; - # "workbench.preferredLightColorTheme" = "Adwaita Light"; }; extensions = with pkgs.vscode-extensions; [ @@ -101,7 +94,6 @@ in { ms-python.python ms-vscode.cpptools-extension-pack oderwat.indent-rainbow - piousdeer.adwaita-theme rubymaniac.vscode-paste-and-indent rust-lang.rust-analyzer tomoki1207.pdf diff --git a/homeManagerModules/apps/zed/default.nix b/homeManagerModules/apps/zed/default.nix index 72f158b7..a4fd6a8c 100644 --- a/homeManagerModules/apps/zed/default.nix +++ b/homeManagerModules/apps/zed/default.nix @@ -49,7 +49,7 @@ in { auto_update = false; autosave.after_delay.milliseconds = 1000; buffer_font_family = config.stylix.fonts.monospace.name; - buffer_font_size = config.stylix.fonts.sizes.applications + 3; + buffer_font_size = config.stylix.fonts.sizes.applications + 2; current_line_highlight = "line"; indent_guides = { @@ -89,7 +89,7 @@ in { metrics = false; }; - terminal.font_size = config.stylix.fonts.sizes.terminal + 3; + terminal.font_size = config.stylix.fonts.sizes.terminal + 2; theme = { dark = "Adwaita Pastel Dark"; diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 55ba0693..df5647ed 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -46,6 +46,13 @@ name = "Vegur"; package = pkgs.vegur; }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; }; opacity = {