Guitari / SFMono-Nerd-Font-Ligaturized

Apple's SFMono font nerd-font patched and ligaturized

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SFMono-Nerd-Font-Ligaturized

This repository contains pre-patched opentype versions of macOS's SFMono fonts with support for Ligatures and Nerd Fonts.

Showcase

image

image

Installation

Manual

Linux

Copy all of the font files to ~/.local/share/fonts

git clone https://github.com/shaunsingh/SFMono-Nerd-Font-Ligaturized.git && cd SFMono-Nerd-Font-Ligaturized
cp *.otf ~/.local/share/fonts

MacOS

  1. Either clone or download and unzip this repository
  2. Highlight and double-click to install all .otf files with Font Book

Homebrew

Needs a working installation of brew

brew tap shaunsingh/SFMono-Nerd-Font-Ligaturized
brew install --cask font-sf-mono-nerd-font-ligaturized

Nix (flake)

Add this repo as an input

inputs = {
  # SFMono w/ patches
  sf-mono-liga-src = {
    url = "github:shaunsingh/SFMono-Nerd-Font-Ligaturized";
    flake = false;
  };
};

Then add the following overlay

(final: prev: {
  sf-mono-liga-bin = prev.stdenvNoCC.mkDerivation rec {
    pname = "sf-mono-liga-bin";
    version = "dev";
    src = inputs.sf-mono-liga-src;
    dontConfigure = true;
    installPhase = ''
      mkdir -p $out/share/fonts/opentype
      cp -R $src/*.otf $out/share/fonts/opentype/
    '';
  };
}) 

Now you can install sf-mono-liga-bin as normal

fonts = {
  fonts = with pkgs; [ sf-mono-liga-bin ];
};

Features

Contains the following Iconsets:

  • fontawesome
  • fontawesomeextentions
  • fontlogos
  • octicons
  • codicons
  • pomicons
  • powerline (height adjusted)
  • powerlineextra (height adjusted)
  • material
  • weather

Ligatures are from FiraCode v3.1

About

Apple's SFMono font nerd-font patched and ligaturized