termfont: Add termite support

This commit is contained in:
Dylan Araps 2016-05-16 21:52:22 +10:00
parent b1402c0372
commit 8032f6ca7a
1 changed files with 4 additions and 0 deletions

View File

@ -1762,6 +1762,10 @@ gettermfont () {
"xfce4-terminal")
termfont="$(awk -F '=' '/FontName/ {printf $2}' "${XDG_CONFIG_HOME}/xfce4/terminal/terminalrc")"
;;
"termite")
termfont="$(awk -F '= ' '/font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
;;
esac
}