Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 6f013e5

Browse files
committed
refactor: install Hack font via package manager
1 parent 18e5103 commit 6f013e5

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

build.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ systemctl enable bootc-fetch-apply-updates.timer
2828
systemctl enable flatpak-system-update.timer
2929
systemctl --global enable flatpak-user-update.timer
3030

31-
# Hack font
32-
mkdir -p /tmp/hack-font
33-
curl -Lo /tmp/hack-font/hack.tar.gz https://github.com/source-foundry/Hack/releases/download/v3.003/Hack-v3.003-ttf.tar.gz
34-
tar -xvzf /tmp/hack-font/hack.tar.gz -C /tmp/hack-font
35-
mv -v /tmp/hack-font/ttf /usr/share/fonts/hack
36-
chown -R root:root /usr/share/fonts/hack
37-
fc-cache -f /usr/share/fonts/hack
38-
rm -rf /tmp/hack-font
39-
4031
# framework firmware
4132
# from https://github.com/ublue-os/bluefin/blob/f833e1f6a5d1863b26e6f24a5ec28068d511b3de/build_files/base/08-firmware.sh
4233
mkdir -p /tmp/mediatek-firmware

packages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"foot",
66
"fzf",
77
"power-profiles-daemon",
8-
"ripgrep"
8+
"ripgrep",
9+
"source-foundry-hack-fonts"
910
],
1011
"exclude": [
1112
"firefox",

0 commit comments

Comments
 (0)