kitty: style tweaks on regex
This commit is contained in:
parent
965940f57e
commit
f93da07f36
1 changed files with 5 additions and 3 deletions
6
neofetch
6
neofetch
|
@ -2910,8 +2910,10 @@ 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 }
|
||||||
|
/^[\S\n_#]+?font_size\s+?\d+?/
|
||||||
|
{ size = $2 } END { print font " " size}' \
|
||||||
"${kitty_file}")"
|
"${kitty_file}")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue