Skip to content

Script to automate patching of fonts with nerd symbols

License

Notifications You must be signed in to change notification settings

ksk0/patch-nerd-fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patch-nerd-fonts

Regular fonts are patched using font-patcher script from NERD FONTS and fontforge from FONT FORGE. Function of this script is to automate downloading and installing packages, python modules, programs and scripts necessary for font patching.

Note: This script only works on debian and debian derivatives.



Prerequisites

This is zsh script, thus zsh shell must be present on the system.

Installation

Clone this repo. In repo there is script patch-fonts which does all the heavy lifting.

Usage

If you run ./patch-fonts script available commands will be shown:

usage:
  patch-fonts COMMAND

commands:
  patch      - patch a font
  install    - install already patched font
  restore    - restore previously backed up fonts

  setup      - install neccesary programs/modules (pkg, python ...)
  check      - check if all neccesary programs/modules are installed
  clean      - remove packages which were installed by this script

note:
  command names can be abbrevated: inst, pa, ...

By running above commands you can:

  • install, check for presence or uninstall necessary packages, modules and scripts
  • patch regular font
  • install patched font onto the system
  • restore previously installed fonts

Below are shown examples of commands execution.

setup

setup process

patch

patch process

install

install process

restore

restore process

check

check-ok process check-fail process

clean

clean process

About

Script to automate patching of fonts with nerd symbols

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages