blob: e698fa4ae9ade52b36f1e83cf3079a1caed2f28d (
plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{
config,
lib,
...
}:
{
config = lib.mkIf (config.programs.btop.enable && config.beeMods.windowManagers.beeConfig.enable) {
xdg.configFile = {
"matugen/templates/btop.theme" = {
text = ''
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]=""
# Main text color
theme[main_fg]="{{colors.on_surface.default.hex}}"
# Title color for boxes
theme[title]="{{colors.primary.default.hex}}"
# Highlight color for keyboard shortcuts
theme[hi_fg]="{{colors.secondary.default.hex}}"
# Background color of selected item in processes box
theme[selected_bg]="{{colors.primary.default.hex}}"
# Foreground color of selected item in processes box
theme[selected_fg]="{{colors.on_primary.default.hex}}"
# Color of inactive/disabled text
theme[inactive_fg]="{{colors.on_surface_variant.default.hex}}"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="{{colors.tertiary.default.hex}}"
# Cpu box outline color
theme[cpu_box]="{{colors.outline.default.hex}}"
# Memory/disks box outline color
theme[mem_box]="{{colors.outline.default.hex}}"
# Net up/down box outline color
theme[net_box]="{{colors.outline.default.hex}}"
# Processes box outline color
theme[proc_box]="{{colors.outline.default.hex}}"
# Box divider line and small boxes line color
theme[div_line]="{{colors.outline_variant.default.hex}}"
# Temperature graph colors
theme[temp_start]="{{colors.secondary.default.hex}}"
theme[temp_mid]="{{colors.primary.default.hex}}"
theme[temp_end]="{{colors.error.default.hex}}"
# CPU graph colors
theme[cpu_start]="{{colors.secondary.default.hex}}"
theme[cpu_mid]="{{colors.primary.default.hex}}"
theme[cpu_end]="{{colors.error.default.hex}}"
# Mem/Disk free meter
theme[free_start]="{{colors.secondary.default.hex}}"
theme[free_mid]=""
theme[free_end]="{{colors.secondary_container.default.hex}}"
# Mem/Disk cached meter
theme[cached_start]="{{colors.tertiary.default.hex}}"
theme[cached_mid]=""
theme[cached_end]="{{colors.tertiary_container.default.hex}}"
# Mem/Disk available meter
theme[available_start]="{{colors.primary.default.hex}}"
theme[available_mid]=""
theme[available_end]="{{colors.primary_container.default.hex}}"
# Mem/Disk used meter
theme[used_start]="{{colors.error.default.hex}}"
theme[used_mid]=""
theme[used_end]="{{colors.error_container.default.hex}}"
# Download graph colors
theme[download_start]="{{colors.secondary.default.hex}}"
theme[download_mid]="{{colors.primary.default.hex}}"
theme[download_end]="{{colors.tertiary.default.hex}}"
# Upload graph colors
theme[upload_start]="{{colors.secondary.default.hex}}"
theme[upload_mid]="{{colors.primary.default.hex}}"
theme[upload_end]="{{colors.tertiary.default.hex}}"
'';
};
};
};
}
|