From 4cc5db838f9d9132a042de812776db79e5422b3b Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 11 Jan 2025 11:52:38 -0600 Subject: [PATCH] gtk: force font-weight Signed-off-by: Myned --- options/custom/settings/gtk/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/options/custom/settings/gtk/default.nix b/options/custom/settings/gtk/default.nix index 01bce79..78c78a2 100644 --- a/options/custom/settings/gtk/default.nix +++ b/options/custom/settings/gtk/default.nix @@ -11,13 +11,19 @@ in { config.home-manager.users.${config.custom.username} = mkIf cfg.enable { gtk = let - css = readFile ./style.css; + css = '' + * { + font-weight: ${config.custom.settings.fonts.weight}; + } + + ${readFile ./style.css} + ''; in { enable = true; font = with config.custom.settings.fonts; { name = sans-serif; - size = 12; + size = 14; }; cursorTheme = with config.custom.settings.icons.cursor; {