-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
terminator.tera
19 lines (18 loc) · 1 KB
/
terminator.tera
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
whiskers:
version: 2.1.0
---
{%- for _, flavor in flavors -%}
{%- set palette = flavor.colors -%}
{{ " " }}[[Catppuccin_{{ flavor.identifier | capitalize }}]]
cursor_color = "#{{ palette.rosewater.hex }}"
background_color = "#{{ palette.base.hex }}"
foreground_color = "#{{ palette.text.hex }}"
{%- if flavor.dark %}
{%- set colors = [palette.surface1, palette.red, palette.green, palette.yellow, palette.blue, palette.pink, palette.teal, palette.subtext1, palette.surface2, palette.red, palette.green, palette.yellow, palette.blue, palette.pink, palette.teal, palette.subtext0] %}
{%- else %}
{%- set colors = [palette.subtext1, palette.red, palette.green, palette.yellow, palette.blue, palette.pink, palette.teal, palette.surface2, palette.subtext0, palette.red, palette.green, palette.yellow, palette.blue, palette.pink, palette.teal, palette.surface1] %}
{%- endif %}
palette = "#{{ colors | map(attribute="hex") | join(sep=":#") }}"
background_image = None
{% endfor -%}