termfont: mintty support

This commit is contained in:
Dylan Araps 2016-05-18 16:39:05 +10:00
parent f8e6dd980b
commit 8d87b786c2

View file

@ -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
}