From 0b69050f491804346bd9c6708f016f493da39117 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 10 Apr 2025 22:54:58 -0500 Subject: gtk font host config instead of just using sans serif and change gtk font size --- modules/home/theme.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'modules/home/theme.nix') diff --git a/modules/home/theme.nix b/modules/home/theme.nix index a1c4f9b..bc8532e 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -40,6 +40,18 @@ in { default = "CommitMono"; description = "default monospace font"; }; + gtk = { + name = lib.mkOption { + type = lib.types.str; + default = "sans-serif"; + description = "default gtk font"; + }; + size = lib.mkOption { + type = lib.types.int; + default = null; + description = "default gtk font size"; + }; + }; }; }; @@ -55,7 +67,8 @@ in { name = transformColorValue config.theme.mint.icons.color; }; font = { - name = config.theme.font.sansSerif; + name = config.theme.font.gtk.name; + size = config.theme.font.gtk.size; }; cursorTheme = { name = "Adwaita"; -- cgit v1.2.3