fix: rename and track Nomarchy.ttf font for flake build

This commit is contained in:
Bernardo Magri
2026-04-13 12:34:15 +01:00
parent 6f4741c060
commit 8e4e801244
5 changed files with 7 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -4,11 +4,13 @@ let
nomarchy-font = pkgs.stdenv.mkDerivation { nomarchy-font = pkgs.stdenv.mkDerivation {
pname = "nomarchy-font"; pname = "nomarchy-font";
version = "1.0"; version = "1.0";
# Pull from core/home/config where the ttf is located # Point directly to the font file
src = ./../home/config; src = ./../home/config/Nomarchy.ttf;
# No archive to unpack
unpackPhase = "true";
installPhase = '' installPhase = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
cp nomarchy.ttf $out/share/fonts/truetype/ cp $src $out/share/fonts/truetype/Nomarchy.ttf
''; '';
}; };
in in

View File

@@ -38,7 +38,7 @@
"custom/nomarchy": { "custom/nomarchy": {
"interval": "once", "interval": "once",
"format": "<span font='nomarchy'>a</span>", "format": "\uf000",
"on-click": "nomarchy-menu", "on-click": "nomarchy-menu",
"tooltip-format": "Application Launcher" "tooltip-format": "Application Launcher"
}, },

View File

@@ -28,7 +28,7 @@
/* Spacing inside the element */ /* Spacing inside the element */
* { * {
font-family: JetBrainsMono Nerd Font, FontAwesome; font-family: JetBrainsMono Nerd Font, FontAwesome, Nomarchy;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: bold;
} }