From 8d87b786c28c22b810d24b0453511121de101555 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 18 May 2016 16:39:05 +1000 Subject: [PATCH] termfont: mintty support --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 5f00800b..bdac6c4e 100755 --- a/neofetch +++ b/neofetch @@ -1803,6 +1803,10 @@ gettermfont () { "termite") termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")" ;; + + "mintty") + termfont="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")" + ;; esac }