A python script to download fonts directly from dafont site.
To avoid using sudo, installation requires these steps:
pip to install the package with all dependencies required:pip install dafontdownloader --userObs: if you are on windows you don't need to perform the following steps
export to persistent use of dafontdownloader script:echo "export PATH=${PATH}:"$HOME"/.local/bin" >> "$HOME"/.bashrcsource to start using script in command line:source .bashrcDownload this repository, or use git clone https://github.com/resilientcod/dafontdownloader.git
Open repository directory.
Use python3 setup.py install
Follow the steps 2 and 3, to persistent use of dafontdownloader script.
sudo)Attention: use at your own risk!
sudo pip install dafontdownloader
This allow install in bin directory, making it unnecessary to use steps 2 and 3 in the first way.
After installation, type dafontdownloader in the terminal to verify that everything is correct,
as in the image:
Then use: dafontdownloader <name-font> to download and install fonts from dafont site.
Example:
dafontdownloader Nemesis Grant
Attention: Make sure you type the name correctly!
The fonts are installed in the user's local .fonts directory
Enjoy!