termfont: Terminator support

This commit is contained in:
Dylan Araps 2016-05-17 00:07:22 +10:00
parent 8032f6ca7a
commit d8214dd0cd
1 changed files with 7 additions and 0 deletions

View File

@ -1766,6 +1766,13 @@ gettermfont () {
"termite")
termfont="$(awk -F '= ' '/font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/termite/config")"
;;
"terminator")
# This only works on a global basis right now.
# We need to figure out a way to get the current
# profile in use.
termfont="$(awk -F '= ' '/font/ {printf $2; exit}' "${XDG_CONFIG_HOME}/terminator/config")"
;;
esac
}