From 8775d8322ad033c5f72d737aef3be146cbbe74a5 Mon Sep 17 00:00:00 2001 From: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com> Date: Fri, 9 May 2025 17:21:32 +0200 Subject: [PATCH] fnott: set font size (#1243) Link: https://github.com/danth/stylix/pull/1243 Reviewed-by: awwpotato --- flake.nix | 8 +++++++- modules/fnott/hm.nix | 2 +- modules/fnott/meta.nix | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 28f35d36..ee9f844b 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,13 @@ }; statix.enable = true; - typos.enable = true; + typos = { + enable = true; + settings.configuration = '' + [default.extend-identifiers] + MrSom3body="MrSom3body" + ''; + }; yamllint.enable = true; }; diff --git a/modules/fnott/hm.nix b/modules/fnott/hm.nix index 1d274227..c351b78f 100644 --- a/modules/fnott/hm.nix +++ b/modules/fnott/hm.nix @@ -7,7 +7,7 @@ lib.mkIf (config.stylix.enable && config.stylix.targets.fnott.enable) ( let - font = config.stylix.fonts.sansSerif.name; + font = "${config.stylix.fonts.sansSerif.name}:size=${toString config.stylix.fonts.sizes.popups}"; fg = c: "${c}ff"; bg = c: diff --git a/modules/fnott/meta.nix b/modules/fnott/meta.nix index b761ad3e..f13dfd13 100644 --- a/modules/fnott/meta.nix +++ b/modules/fnott/meta.nix @@ -1,5 +1,8 @@ { lib, ... }: { - maintainers = [ lib.maintainers.awwpotato ]; + maintainers = with lib.maintainers; [ + awwpotato + MrSom3body + ]; name = "Fnott"; }