]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/termite/files/config
Add font config for termite on cobalt
[max/saltfiles.git] / states / termite / files / config
index 7f65f91fe68fb0c4c19e582be6666dcca1331f1a..cc7d5abf9c9a73b54acd171e831a336201913396 100644 (file)
@@ -1,15 +1,21 @@
-{% if grains['host'] == 'magnesium' %}
-       {% set font_size = 12 %}
+{% if grains['host'] in ['dubnium', ] %}
+       {% set font_size = 9 %}
 {% 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