diff --git a/neofetch b/neofetch index 3f492c2b..34564646 100755 --- a/neofetch +++ b/neofetch @@ -3442,7 +3442,9 @@ END "kitty"*) term_font="from kitty.cli import *; o = create_default_opts(); \ print(f'{o.font_family} {o.font_size}')" - term_font="$(kitty +runpy ''"$term_font"''|sed "s/=//"|sed "s/'//g")" + term_font="$(kitty +runpy ''"$term_font"'')" + term_font="${term_font//=}" + term_font="${term_font//\'}" ;; "konsole" | "yakuake")