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 {
|
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
|
||||||
|
|||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user