fix: rename and track Nomarchy.ttf font for flake build
This commit is contained in:
BIN
core/home/config/Nomarchy.ttf
Normal file
BIN
core/home/config/Nomarchy.ttf
Normal file
Binary file not shown.
Binary file not shown.
@@ -4,11 +4,13 @@ let
|
||||
nomarchy-font = pkgs.stdenv.mkDerivation {
|
||||
pname = "nomarchy-font";
|
||||
version = "1.0";
|
||||
# Pull from core/home/config where the ttf is located
|
||||
src = ./../home/config;
|
||||
# Point directly to the font file
|
||||
src = ./../home/config/Nomarchy.ttf;
|
||||
# No archive to unpack
|
||||
unpackPhase = "true";
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp nomarchy.ttf $out/share/fonts/truetype/
|
||||
cp $src $out/share/fonts/truetype/Nomarchy.ttf
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
"custom/nomarchy": {
|
||||
"interval": "once",
|
||||
"format": "<span font='nomarchy'>a</span>",
|
||||
"format": "\uf000",
|
||||
"on-click": "nomarchy-menu",
|
||||
"tooltip-format": "Application Launcher"
|
||||
},
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/* Spacing inside the element */
|
||||
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font, FontAwesome;
|
||||
font-family: JetBrainsMono Nerd Font, FontAwesome, Nomarchy;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user