-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbottom.tera
More file actions
43 lines (41 loc) · 1.71 KB
/
bottom.tera
File metadata and controls
43 lines (41 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
whiskers:
version: 2.1.0
matrix:
- flavor
filename: "themes/{{ flavor.identifier }}.toml"
---
{%- set palette = flavor.colors -%}
{%- set rainbow = [palette.red, palette.peach, palette.yellow, palette.green, palette.sapphire, palette.mauve] -%}
[styles.cpu]
all_entry_color = "#{{ palette.rosewater.hex }}"
avg_entry_color = "#{{ palette.maroon.hex }}"
cpu_core_colors = [{%- for color in rainbow -%}"#{{ color.hex }}"{%- if not loop.last -%},{%- endif -%}{%- endfor -%}]
[styles.memory]
ram_color = "#{{ palette.green.hex }}"
cache_color = "#{{ palette.red.hex }}"
swap_color = "#{{ palette.peach.hex }}"
{%- set sliced_rainbow = rainbow | slice(start=0, end=4) %}
gpu_colors = [{%- for color in rainbow | slice(start=4) | concat(with=sliced_rainbow) -%}"#{{ color.hex }}"{%- if not loop.last -%},{%- endif -%}{%- endfor -%}]
arc_color = "#{{ palette.sky.hex }}"
[styles.network]
rx_color = "#{{ palette.green.hex }}"
tx_color = "#{{ palette.red.hex }}"
rx_total_color = "#{{ palette.sky.hex }}"
tx_total_color = "#{{ palette.green.hex }}"
[styles.battery]
high_battery_color = "#{{ palette.green.hex }}"
medium_battery_color = "#{{ palette.yellow.hex }}"
low_battery_color = "#{{ palette.red.hex }}"
[styles.tables]
headers = {color = "#{{ palette.rosewater.hex }}"}
[styles.graphs]
graph_color = "#{{ palette.subtext0.hex }}"
legend_text = {color = "#{{ palette.subtext0.hex }}"}
[styles.widgets]
border_color = "#{{ palette.surface2.hex }}"
selected_border_color = "#{{ palette.pink.hex }}"
widget_title = {color = "#{{ palette.flamingo.hex }}"}
text = {color = "#{{ palette.text.hex }}"}
selected_text = {color = "#{{ palette.crust.hex }}", bg_color = "#{{ palette.mauve.hex }}"}
disabled_text = {color = "#{{ palette.base.hex }}"}