Skip to main content

max / alloy

3.2 KB · 88 lines History Blame Raw
1 @{! variants = default, night }
2 # Alloy bottom (btm) configuration
3 #
4 # Alloy palette on graphs, borders, and text. Vi-flavored
5 # defaults inherited from bottom; overrides where sensible.
6
7 [flags]
8 avg_cpu = true
9 temperature_type = "celsius"
10 rate = "1s"
11 default_widget_type = "cpu"
12 default_widget_count = 1
13 # Keyboard-only, and kept on purpose: same call as helix's `mouse = false`,
14 # and the two are meant to agree. Checked against the inherited-friction audit
15 # of 2026-08-20 (GoingsOn alloy `cf5db0e9`): clicking is not a capability being
16 # withheld here, it is the alternative to letting the terminal keep the mouse
17 # for selection.
18 disable_click = true
19 tree = false
20 color = "default"
21 mem_as_value = false
22 hide_time = false
23 hide_avg_cpu = false
24 dot_marker = false
25 group_processes = false
26 case_sensitive = false
27 whole_word = false
28 regex = false
29 show_table_scroll_position = true
30 process_command = false
31 disable_advanced_kill = false
32 network_use_bytes = false
33 network_use_log = false
34 network_use_binary_prefix = true
35 enable_gpu = true
36 retention = "10m"
37 unnormalized_cpu = false
38
39 # -------------------------------------------------------------------
40 # Colors — the palette this file rendered against (docs/TOKENS.md)
41 # -------------------------------------------------------------------
42 [styles.tables]
43 headers = { color = "@{content.secondary}", modifiers = ["bold"] }
44
45 [styles.graphs]
46 graph_color = "@{line.border}"
47
48 [styles.widgets]
49 border_color = "@{border.subtle}"
50 selected_border_color = "@{status.warning}"
51 widget_title = { color = "@{content.secondary}" }
52 text = { color = "@{content.primary}" }
53 selected_text = { color = "@{content.primary}", bg_color = "@{border.subtle}" }
54 disabled_text = { color = "@{content.muted}" }
55
56 [styles.cpu]
57 all_entry_color = "@{content.primary}"
58 avg_entry_color = "@{content.secondary}"
59 # Per-core lines are a categorical series, not a status readout, so they draw
60 # from the category.* palette (docs/TOKENS.md), not from status.* — a core is
61 # not "erroring" because it happens to be the second one. This also keeps the
62 # series off the greyscale chrome tones (text-muted, border-strong), which are
63 # reserved for chrome, never data.
64 cpu_core_colors = [
65 "@{category.one}", # category.one
66 "@{category.two}", # category.two
67 "@{category.three}", # category.three
68 "@{category.four}", # category.four
69 "@{category.five}", # category.five
70 "@{category.six}", # category.six
71 ]
72
73 [styles.memory]
74 ram_color = "@{status.success}"
75 swap_color = "@{status.warning}"
76 cache_color = "@{content.muted}"
77
78 [styles.network]
79 rx_color = "@{status.success}"
80 tx_color = "@{status.warning}"
81 rx_total_color = "@{content.secondary}"
82 tx_total_color = "@{content.muted}"
83
84 [styles.battery]
85 high_battery_color = "@{status.success}"
86 medium_battery_color = "@{status.warning}"
87 low_battery_color = "@{status.danger}"
88