Added font

This commit is contained in:
Tibo De Peuter 2022-10-26 21:42:32 +02:00
parent c62c1edd07
commit 582f02a78e
27 changed files with 97 additions and 49 deletions

View file

@ -8,6 +8,7 @@ post_install() {
post_upgrade() {
install_software
install_fonts
>&2 echo "Moving to dotfile directory"
cd /usr/share/tdpeuter/arch-pkgs/
@ -29,18 +30,40 @@ pre_remove() {
install_software() {
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
>&2 echo "Installing betterbird"
git clone https://aur.archlinux.org/betterbird-bin.git
cd betterbird-bin
git pull
makepkg
pacman -U sway-git
pacman -U betterbird-bin
cd
>&2 echo "Installing hamsket"
git clone https://aur.archlinux.org/hamsket-bin.git
cd hamsket-bin
git pull
makepkg
pacman -U hamsket-bin
cd
>&2 echo "Installing sway-git"
git clone https://aur.archlinux.org/sway-git.git
cd sway-git
git pull
makepkg
pacman -U sway-git
cd
}
install_fonts() {
mkdir -p /usr/local/share/fonts
>&2 echo "Installing letter (font)"
git clone https://github.com/tdpeuter/letter.git
cd letter
cp ttf/* /usr/local/share/fonts/ttf/letter/
cp ttf-unhinted/* /usr/local/share/fonts/ttf-unhinted/letter/
cp woff2/* /usr/local/share/fonts/woff2/letter/
cd
}