Unverified Commit df520a0a authored by black's avatar black Committed by GitHub

Merge pull request #1262 from lebensterben/kittyFontParsing

Fix kitty font parsing when font name has whitespaces
parents 45f7e329 f3dbd54a
......@@ -2981,7 +2981,8 @@ 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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment