Skip to content

R8Sec/nerdfont_installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Font Downloader

Bash script that allows you to download and install Nerd Fonts from the Nerd Fonts websites. After running the scripts you can choose the font to be installed, the script will automatically download and install the selected font.

Prerequisites

  • Bash (Bourne Again Shell)
  • curl

Usage

  1. Download the script file to your local machine.
  2. Open a terminal and navigate to the directory where the script is located.
  3. Make the script executable by running the following command:
chmod +x nerdfont_installer.sh
  1. Run the script:
./nerdfont_installer.sh
  1. Enter the number of the font you want to install and press Enter.
  2. The script will download and install the selected font into your user's font directory (~/.local/share/fonts).
  3. Done!

Notes

The script assumes that the font installation directory is ~/.local/share/fonts. If your system uses a different directory for font installations, you can modify the FONTSDIR variable in the script to match your system's font directory. The script uses temporary files (/tmp/font-downloads.html, /tmp/fonts.list, and /tmp/${font}.zip) during the installation process. This files will be cleared once the installation is complete.

About

Quick installation of NerFonts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages