2 # this script uses <(cmd) hence preceding shebang
5 : ${fontpath="$HOME/.fonts/fantasque/fantasquesansmono-regular-3ze.otf"}
6 fontface
() { printf '@font-face { font-family: %s; src: "%s"; } ' $1 "$2"; }
8 fontface serif
"$fontpath"
9 fontface sans-serif
"$fontpath"
10 fontface monospace
"$fontpath"