summaryrefslogtreecommitdiff
path: root/.local/share/unicode/nerd font
Commit message (Collapse)AuthorAgeFilesLines
* font: import nerd font data for sds/dunicodesinanmohd2023-04-041-0/+9116
the following script was used to scrap the data off of nerd font website set -e nerd_sheet="https://www.nerdfonts.com/cheat-sheet" get_nerd() { curl --silent -H 'Accept-Encoding: gzip,deflate, br' --compressed "$nerd_sheet" } parse() { name= obs= while IFS="$(printf '\n')" read -r line do case "$line" in *obsolete*) obs=true ;; *"div class=\"nf "*) [ "$obs" = true ] && continue line="${line#*nf }" name="${line%% *}" ;; *"Copy Hex Code to Clipboard"*) if [ "$obs" = true ]; then obs=false continue fi line="${line%<*}" line="${line##*>}" printf "%b %s %s\n" "\U${line}" "$name" "$line" ;; *) continue ;; esac done unset name } get_nerd | parse