2024-07-30 15:06:34 +01:00
|
|
|
{ config, accentColourName, ... }:
|
2024-07-03 07:15:39 +01:00
|
|
|
{
|
|
|
|
programs.bottom = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
flags = {
|
|
|
|
group_processes = true;
|
|
|
|
temperature_type = "celsius";
|
|
|
|
battery = true;
|
|
|
|
enable_gpu = true;
|
|
|
|
enable_cache_memory = true;
|
|
|
|
};
|
2024-07-30 15:06:34 +01:00
|
|
|
colors =
|
|
|
|
let
|
|
|
|
sc = config.scheme.withHashtag;
|
|
|
|
rainbow = with sc; [
|
|
|
|
red
|
|
|
|
yellow
|
|
|
|
green
|
|
|
|
cyan
|
|
|
|
blue
|
|
|
|
magenta
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
table_header_color = sc.base05;
|
|
|
|
all_cpu_color = sc.base05;
|
|
|
|
avg_cpu_color = sc.base05;
|
|
|
|
cpu_core_colors = rainbow;
|
|
|
|
ram_color = sc.red;
|
|
|
|
cache_color = sc.green;
|
|
|
|
swap_color = sc.blue;
|
|
|
|
rx_color = sc.green;
|
|
|
|
tx_color = sc.blue;
|
|
|
|
widget_title_color = sc.${accentColourName};
|
|
|
|
border_color = sc.base02;
|
|
|
|
highlighted_border_color = sc.${accentColourName};
|
|
|
|
text_color = sc.base05;
|
|
|
|
graph_color = sc.base04;
|
|
|
|
cursor_color = sc.base02;
|
|
|
|
selected_text_color = sc.base05;
|
|
|
|
selected_bg_color = sc.base01;
|
|
|
|
high_battery_color = sc.green;
|
|
|
|
medium_battery_color = sc.yellow;
|
|
|
|
low_battery_color = sc.red;
|
|
|
|
gpu_core_colors = rainbow;
|
|
|
|
arc_color = sc.cyan;
|
|
|
|
};
|
2024-07-03 07:15:39 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|