neofetch
neofetch copied to clipboard
Terminal font not displayed
Description
Terminal font is not being displayed. Similar to #1503.
Did some brief testing and this snippet appears to be reading the wrong section of the (correctly identified) config file:
$ cat test.sh
shopt -s nullglob
confs=({$XDG_CONFIG_HOME,$HOME}/{alacritty,}/{.,}alacritty.ym?)
shopt -u nullglob
[[ -f "${confs[0]}" ]] || return
term_font="$(awk -F ':|#' '/normal:/ {getline; print}' "${confs[0]}")"
# term_font="${term_font/*family:}"
# term_font="${term_font/$'\n'*}"
# term_font="${term_font/\#*}"
echo $term_font
$ bash test.sh
# Font family black: '#131313'
$ grep normal: -A8 alacritty.yml
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux) monospace
# - (Windows) Consolas
family: Source Han Code JP
--
normal:
black: '#131313'
red: '#6b4949'
green: '#b35959'
yellow: '#996551'
blue: '#774646'
magenta: '#8f505a'
cyan: '#4f3232'
white: '#c7c7c7'
- [x] Does this issue still occur in the master branch? (Required if issue)
Neofetch version
[!] Neofetch version: 7.1.0
Screenshot

Config file
Neofetch: https://0x0.st/oraI.conf Alacritty: https://0x0.st/oral.yml
Verbose log
https://0x0.st/oraU.txt
same here, i am using alacritty as well.
Happens with urxvt as well
Happening on Wezterm for me also
Use fastfetch