1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

refactor: expose flake overlays

This commit is contained in:
Ryan Cao 2024-02-17 10:04:58 +08:00
parent ff6c4c5d16
commit 9501f7769f
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
6 changed files with 32 additions and 29 deletions

View file

@ -21,6 +21,7 @@
ttx "$medium_font"
sed -i 's/Medm/Medium/g' "$ttx_path"
ttx -f "$ttx_path"
rm "$ttx_path"
done
semibold_fonts=$(fd --extension=otf SemiBold)
@ -33,6 +34,7 @@
ttx "$semibold_font"
sed -i 's/SmBld/Semibold/g' "$ttx_path"
ttx -f "$ttx_path"
rm "$ttx_path"
done
echo -e "''${ansi_green}Done!''${ansi_reset}"

View file

@ -1,5 +1,5 @@
(_: prev: let
version = "2024.02.15";
version = "2024.02.16";
mkFontVariant = {
variant,
@ -16,7 +16,6 @@
src = fetchzip {
url = "https://github.com/ryanccn/ryan-mono/releases/download/v${version}/${variant}.tar.xz";
stripRoot = false;
inherit hash;
};
@ -34,11 +33,11 @@
in {
ryan-mono-bin = mkFontVariant {
variant = "RyanMono";
hash = "sha256-9ojd6qCMf+lGa//5ZmY/ob6sbJvkBLqWTjyz7I5Yr4M=";
hash = "sha256-4h9T3r/kngeGUYMj6N05QFuvg0rPICqZBKDloB/WtMc=";
};
ryan-term-bin = mkFontVariant {
variant = "RyanTerm";
hash = "sha256-23+qURL4jBzsnyglPrYYF2pBTkp/WpzR9GQ2nbuJC4E=";
hash = "sha256-NBl4Z2JT88WbgcPuei3Jcfb5n7T89oWCzOm9vBtAmkc=";
};
})