Dotfiles config update (2021-11-18)

This commit is contained in:
q3aql 2021-11-18 23:10:50 +01:00
parent c18dbf3263
commit fd58682fb8

19
fonts/install-fonts.sh Normal file
View File

@ -0,0 +1,19 @@
#!/bin/bash
# Check if you are root
mkdir -p /etc/root &> /dev/null
administrador=$?
if [ ${administrador} -eq 0 ] ; then
rm -rf /etc/root
else
echo ""
echo "* Administrator permissions are required"
echo ""
exit
fi
# Install fonts
mkdir -p /usr/share/fonts/truetype/mononoki/
mkdir -p /usr/share/fonts/truetype/joypixels/
tar Jxvf joypixels-fonts.tar.xz -C /usr/share/fonts/truetype/joypixels/
tar Jxvf mononoki-nerds-fonts.tar.xz -C /usr/share/fonts/truetype/mononoki/