From a7c67455072fbf032b9fd086a99655de73e918a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Wed, 9 May 2018 14:15:24 +0200 Subject: [PATCH] kitty: fix regression in regex --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 23a3ffa2..30909c25 100755 --- a/neofetch +++ b/neofetch @@ -2906,8 +2906,8 @@ END fi - term_font="$(awk '/font_family/ { $1 = ""; gsub(/^[[:space:]]/, ""); font = $0 } \ - /\^[\S\n_#]+?font_size\s+?\d+?/ { size = $2 } END { print font " " size}' \ + 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}' \ "${kitty_file}")" ;;