From 3f7b6aa3e2093c0c7d21a000499886d92d870403 Mon Sep 17 00:00:00 2001 From: Christopher Patrick Fair Date: Mon, 23 May 2022 15:48:44 -0600 Subject: [PATCH] Realized that you will not take pipes so did it this way instead --- neofetch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")