Browse Source

Initial commit

Keyi 7 years ago
commit
8ab2316a12

BIN
collections/FiraCode/FiraCode-Bold.ttf


BIN
collections/FiraCode/FiraCode-Light.ttf


BIN
collections/FiraCode/FiraCode-Medium.ttf


BIN
collections/FiraCode/FiraCode-Regular.ttf


BIN
collections/FiraCode/FiraCode-Retina.ttf


BIN
collections/FontAwesome/Font Awesome 5 Brands-Regular-400.otf


BIN
collections/FontAwesome/Font Awesome 5 Free-Regular-400.otf


BIN
collections/FontAwesome/Font Awesome 5 Free-Solid-900.otf


BIN
collections/SSFD/System San Francisco Display Bold.ttf


BIN
collections/SSFD/System San Francisco Display Regular.ttf


BIN
collections/SSFD/System San Francisco Display Thin.ttf


BIN
collections/SSFD/System San Francisco Display Ultralight.ttf


+ 20 - 0
install.sh

@@ -0,0 +1,20 @@
+#!/bin/bash
+# A simple srcipt that moves collected fonts to local font directory
+# get current path
+DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+FONT_DIR="$DIR/collections"
+echo "Found fonts:"
+find "$FONT_DIR" -mindepth 1 -type d \( \! -name "$(basename "$DIR")" \) -exec basename {} \;
+
+# get target path
+if [[ $(uname) == 'Linux' ]]; then
+  TARGER_DIR="$HOME/.local/share/fonts"
+else
+  echo "This script only works on Linux."
+fi
+
+echo "Installing fonts" 
+mv "$FONT_DIR/*" $TARGET_DIR
+echo "Refreshing font cache"
+fc-cache -f
+echo "Done"