From a0aa6862f5a78454020fa4f3ba3e8393b02fff83 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 30 Jul 2025 22:54:45 +0200 Subject: [PATCH] Migrate fonts to packages --- migrations/1753908454.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 migrations/1753908454.sh diff --git a/migrations/1753908454.sh b/migrations/1753908454.sh new file mode 100644 index 0000000..fdbde67 --- /dev/null +++ b/migrations/1753908454.sh @@ -0,0 +1,12 @@ +echo "Migrate from manually downloaded fonts to font packages" +if ! yay -Q ttf-cascadia-mono-nerd &>/dev/null; then + yay -S --noconfirm ttf-cascadia-mono-nerd + rm -rf ~/.local/share/fonts/Caskaydia* + fc-cache +fi + +if ! yay -Q ttf-ia-writer &>/dev/null; then + yay -S --noconfirm ttf-ia-writer + rm -rf ~/.local/share/fonts/iAWriterMonoS* + fc-cache +fi