dotfiles/gui/updatenerdfonticons.sh

11 lines
307 B
Bash
Raw Normal View History

2020-11-03 17:26:19 +00:00
#!/bin/sh
2020-11-08 16:26:14 +00:00
DIR=$(dirname "$(readlink -f "$0")")
2020-11-03 17:26:19 +00:00
. "$DIR/../env.sh"
[ -z "$1" ] && echo Usage: $0 path/to/nerdfont.git/bin/scrips/lib && exit 1
awk '/i=/ { print substr($1, 4, 1), substr($2, 0, index($2, "=") - 1) }' \
$1/i_{dev,fa,fae,iec,linux,material,oct,ple,pom,seti,weather}.sh > ~/.cache/icons