Unverified Commit f1aa74f1 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #981 from MindTooth/style_fix

kitty: style tweaks on regex
parents 965940f5 f93da07f
...@@ -2910,9 +2910,11 @@ END ...@@ -2910,9 +2910,11 @@ END
fi fi
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/ {$1="";gsub(/^[[:space:]]/,"");font=$0}\ term_font="$(awk '/^[\S\n_#]+?font_family\s+?/
/^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 }
"${kitty_file}")" /^[\S\n_#]+?font_size\s+?\d+?/
{ size = $2 } END { print font " " size}' \
"${kitty_file}")"
;; ;;
"konsole"*) "konsole"*)
......
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