Merge pull request #935 from aidanharris/fix-kitty-regex
Fix kitty font_size regex
This commit is contained in:
commit
dedf90970d
2
neofetch
2
neofetch
|
@ -2086,7 +2086,7 @@ END
|
||||||
fi
|
fi
|
||||||
|
|
||||||
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
||||||
/font_size/ { size = $2 } END { print font " " size}' \
|
/\s?font_size\s/ { size = $2 } END { print font " " size}' \
|
||||||
"${kitty_file}")"
|
"${kitty_file}")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue