termfont: mintty support

This commit is contained in:
Dylan Araps 2016-05-18 16:39:05 +10:00
parent f8e6dd980b
commit 8d87b786c2
1 changed files with 4 additions and 0 deletions

View File

@ -1803,6 +1803,10 @@ gettermfont () {
"termite") "termite")
termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")" termfont="$(awk -F '= ' '!/^($|#)/ && /font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
;; ;;
"mintty")
termfont="$(awk -F '=' '!/^($|#)/ && /Font/ {printf $2; exit}' "${HOME}/.minttyrc")"
;;
esac esac
} }