Merge branch 'laptop'
This commit is contained in:
commit
484a8df77b
14 changed files with 550 additions and 22 deletions
12
scripts/fontgrep
Executable file
12
scripts/fontgrep
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function fontgrep {
|
||||
fc-list \
|
||||
| grep $@ \
|
||||
| awk '{$1=""; print substr($0, 2, length($0)-1) }' \
|
||||
| grep -oE '^\s*[^,]+' \
|
||||
| sort \
|
||||
| uniq
|
||||
}
|
||||
|
||||
fontgrep $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue