diff --git a/neofetch b/neofetch index aae628d4..0a685e79 100755 --- a/neofetch +++ b/neofetch @@ -4783,8 +4783,8 @@ END term_font="from kitty.cli import *; o = create_default_opts(); \ print(f'{o.font_family} {o.font_size}')" term_font="$(kitty +runpy ''"$term_font"'')" - term_font="${term_font//=}" - term_font="${term_font//\'}" + term_font="${term_font#family=}" + term_font="$(trim_quotes "${term_font}")" ;; "konsole" | "yakuake")