Merge pull request #977 from MindTooth/fix_kitty_regression
kitty: fix regression in regex
This commit is contained in:
commit
8dc25c3ae5
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -2907,8 +2907,8 @@ END
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
term_font="$(awk '/^[\S\n_#]+?font_family\s+?/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \
|
||||||
/\^[\S\n_#]+?font_size\s+?\d+?/ { 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