Tweak kitty font regex
This commit is contained in:
parent
8fe3130cbe
commit
f765caa038
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -2906,7 +2906,7 @@ END
|
||||||
fi
|
fi
|
||||||
|
|
||||||
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
||||||
/\s?font_size\s/ { size = $2 } END { print font " " size}' \
|
/\^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \
|
||||||
"${kitty_file}")"
|
"${kitty_file}")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue