diff --git a/neofetch b/neofetch index 585a4b3d..d232bfd6 100755 --- a/neofetch +++ b/neofetch @@ -2086,7 +2086,7 @@ END fi term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \ - /font_size/ { size = $2 } END { print font " " size}' \ + /\s?font_size\s/ { size = $2 } END { print font " " size}' \ "${kitty_file}")" ;;