kitty: style tweaks on regex
This commit is contained in:
parent
965940f57e
commit
f93da07f36
1 changed files with 5 additions and 3 deletions
8
neofetch
8
neofetch
|
@ -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"*)
|
||||||
|
|
Loading…
Reference in a new issue