From 8aec5a9de114bb70335de85b264f6bed9c1d275b Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 09:25:54 +0100 Subject: [PATCH] Set console font correctly on barium --- states/termite/files/config | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.46.2