termfont: Add termite support

This commit is contained in:
Dylan Araps 2016-05-16 21:52:22 +10:00
parent b1402c0372
commit 8032f6ca7a

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
}