Prevent nested sessions
[iomenu.git] / io-tty-font
blob82044cd544a2cf840b07d4e81b1b9a9513c18d83
1 setfont "$(
2         find /usr/share ~ -type d -name consolefonts | while IFS='' read -r path
3         do
4                 if [ -d "$path" ]
5                 then
6                         cd "$path"
8                         fonts="$(find . -type f | cut -c 3-)"
10                         [ "$fonts" ] && printf '#\n# %s\n%s\n' "$path" "$fonts"
11                 fi
13         done | iomenu -l 256 -s '#' -H | sed 's/\t/\//'