kitty: style tweaks on regex

This commit is contained in:
Birger J. Nordølum 2018-05-10 14:05:27 +02:00
parent 965940f57e
commit f93da07f36
No known key found for this signature in database
GPG key ID: 1E2DC712B50089CC

View file

@ -2910,9 +2910,11 @@ END
fi
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/ {$1="";gsub(/^[[:space:]]/,"");font=$0}\
/^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
"${kitty_file}")"
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/
{ $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 }
/^[\S\n_#]+?font_size\s+?\d+?/
{ size = $2 } END { print font " " size}' \
"${kitty_file}")"
;;
"konsole"*)