neofetch icon indicating copy to clipboard operation
neofetch copied to clipboard

Terminal font not displayed

Open blankaex opened this issue 3 years ago • 4 comments

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

screenshot

Config file

Neofetch: https://0x0.st/oraI.conf Alacritty: https://0x0.st/oral.yml

Verbose log

https://0x0.st/oraU.txt

blankaex avatar Dec 25 '21 23:12 blankaex

same here, i am using alacritty as well.

real-F-00 avatar Jul 10 '22 09:07 real-F-00

Happens with urxvt as well

ghost avatar Jul 13 '22 22:07 ghost

Happening on Wezterm for me also

ribru17 avatar May 29 '23 05:05 ribru17

Use fastfetch

Miguel-hrvs avatar Feb 28 '24 09:02 Miguel-hrvs