dotfiles/sh/.config/sh/alias.d/fontlist.sh

10 lines
247 B
Bash

#!/usr/bin/env sh
#
# list each individual font family installed
# without doing all the duplicate doo-hop of fc-list
# alias fonts='fc-list -f ''%{family}\n'' | awk ''!x[$0]++'''
fontfamilies() {
fc-list -f '%{family}\n' | awk '!x[$0]++'
}