0

How can I check the conditions to install the powerline fonts in each of the ways outlined here? I want to add this to a configuration script I have.

if terminal == gnome  ||  terminal == ...; then
    Fontconfig method;
else
    git clone powerline fonts
    ./install
fi
derHugo
  • 3,356
  • 5
  • 31
  • 51
  • what do you mean by "conditions"? all you need to do is follow the top answer? By the way: it might be better to ask in a comment to explain bits of the answer. – Rinzwind May 06 '17 at 18:21
  • I want a script that installs the powerline fonts automatically? Why would I follow the top answer if what I want is a script that does that automatically? –  May 06 '17 at 18:23
  • 1
    Because the top answer would have included that script if there was one. And where in your question did you ask for a script to do this? – Rinzwind May 06 '17 at 18:25

0 Answers0