Merge pull request #973 from MindTooth/tweak_kitty_regex
tweak kitty font regex
This commit is contained in:
commit
a5f5be869c
2
neofetch
2
neofetch
|
@ -2907,7 +2907,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}")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue