repo.or.cz
/
iomenu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Much stronger scripts, with shellcheck and () for function body
[iomenu.git]
/
io-setfont
blob
d11e2b36b4975e4590caa1bddcbc00ad9b3a9c85
1
setfont "$(
2
find /usr/share ~ -type d -name consolefonts | while IFS='' read -r path
3
do
4
cd "$path" || exit 1
5
6
fonts="$(find . -type f | cut -c 3-)"
7
8
[ "$fonts" ] && printf '#\n# %s\n%s\n' "$path" "$fonts"
9
10
done | iomenu -l 256 -s '#' -H | sed 's/\t/\//'
11
)"