Fix kitty font_size regex

This commit is contained in:
Aidan Harris 2018-03-27 21:28:45 +01:00
parent 81db772a5d
commit 7fbab49ec3
No known key found for this signature in database
GPG key ID: E18BE27807DA2E96

View file

@ -2082,7 +2082,7 @@ END
fi
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
/font_size/ { size = $2 } END { print font " " size}' \
/\s?font_size\s/ { size = $2 } END { print font " " size}' \
"${kitty_file}")"
;;