Merge pull request #561 from mstraube/sakura-font

Term: Add support for sakura font
This commit is contained in:
Dylan Araps 2016-12-24 11:02:41 +11:00 committed by GitHub
commit 1670933b41
1 changed files with 4 additions and 0 deletions

View File

@ -1598,6 +1598,10 @@ get_term_font() {
"Hyper"*)
term_font="$(awk -F "," '/fontFamily/ {a=$1} END{print a}' "${HOME}/.hyper.js" | awk -F "'" '{a=$2} END{print a}')"
;;
"sakura"*)
term_font="$(awk -F '=' '/^font=/ {a=$2} END{print a}' "${XDG_CONFIG_HOME}/sakura/sakura.conf")"
;;
esac
}