Term: Add support for sakura font

This commit is contained in:
Michael Straube 2016-12-23 20:45:08 +01:00
parent 2f1c044308
commit e9b4f179e9
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
}