]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/termite/files/config
Handling of rheninum (laptop arch)
[max/saltfiles.git] / states / termite / files / config
index 7f65f91fe68fb0c4c19e582be6666dcca1331f1a..97ccbae8cd701953e7ccaa1009a68118a70c826f 100644 (file)
@@ -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' or grains['host'] == 'rhenium' %}
+       {% 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