X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Ftermite%2Ffiles%2Fconfig;h=c81a2ff203358104164f23cd312978445df03f06;hb=b2e619697019a5bf3b795e77591dec84ed3b2729;hp=7f65f91fe68fb0c4c19e582be6666dcca1331f1a;hpb=1ff8f3ba10be1292f4cd207b2740ca0502251bd5;p=max%2Fsaltfiles.git diff --git a/states/termite/files/config b/states/termite/files/config index 7f65f91..c81a2ff 100644 --- a/states/termite/files/config +++ b/states/termite/files/config @@ -1,15 +1,23 @@ -{% if grains['host'] == 'magnesium' %} - {% set font_size = 12 %} +{% if grains['host'] in ['rhenium', ] %} + {% set font_size = 10 %} +{% elif grains['host'] in ['dubnium', ] %} + {% set font_size = 13 %} {% else %} {% set font_size = 11 %} {% endif %} +{% if grains['host'] in ['barium', 'dubnium', 'rhenium', 'cobalt'] %} + {% 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