From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 08:25:54 +0000 (+0100) Subject: Set console font correctly on barium X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=8aec5a9de114bb70335de85b264f6bed9c1d275b;p=max%2Fsaltfiles.git Set console font correctly on barium --- diff --git a/states/termite/files/config b/states/termite/files/config index 7f65f91..a489416 100644 --- a/states/termite/files/config +++ b/states/termite/files/config @@ -1,15 +1,23 @@ {% if grains['host'] == 'magnesium' %} {% set font_size = 12 %} +{% elif grains['host'] == 'barium' %} + {% set font_size = 12 %} {% else %} {% set font_size = 11 %} {% endif %} +{% if grains['host'] == 'barium' %} + {% set font_family = 'Source Code Pro' %} +{% else %} + {% set font_family = 'Source Code Pro for Powerline' %} +{% endif %} + [options] #allow_bold = true #audible_bell = false #clickable_url = true #dynamic_title = true -font = Source Code Pro for Powerline {{ font_size }} +font = {{ font_family }} {{ font_size }} #fullscreen = true #geometry = 640x480 #icon_name = terminal