setup/scripts/fonts.sh

15 lines
251 B
Bash
Raw Normal View History

2023-07-22 15:18:13 +02:00
#! /bin/bash
#
install_fonts() {
if [[ "$UNAME" == "Darwin" ]]; then
cp -r fonts/* ~/Library/Fonts/
else
mkdir -p ~/.local/share/fonts/
cp -r fonts/* ~/.local/share/fonts/
fi
}
ask "install fonts? (y/n)"
[ "$RESP" != "n" ] && install_fonts