From accccca8e9039d7bfbcf1d8871d64049d3e1f4cb Mon Sep 17 00:00:00 2001 From: Lucius Hu Date: Mon, 3 Jun 2019 00:23:05 -0400 Subject: [PATCH] kitty font parsing where font name has whitespaces --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 3bd821fe..cb4b9fe4 100755 --- a/neofetch +++ b/neofetch @@ -2981,7 +2981,7 @@ END kitty_config="$(kitty --debug-config)" [[ "$kitty_config" != *font_family* ]] && return - term_font="$(awk '/^font_family|^font_size/ {printf $2 " "}' <<< "$kitty_config")" + term_font="$(awk '/^font_family|^font_size/ {$1="";gsub("^ *","",$0);print $0}' <<< "$kitty_config")" ;; "konsole" | "yakuake")