2024-10-30 16:32:34 +00:00
|
|
|
{ config, ... }:
|
|
|
|
{
|
|
|
|
programs.bottom = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
flags = {
|
|
|
|
group_processes = true;
|
|
|
|
temperature_type = "celsius";
|
|
|
|
battery = true;
|
|
|
|
enable_gpu = true;
|
|
|
|
};
|
2024-12-17 09:15:32 +00:00
|
|
|
styles =
|
2024-10-30 16:32:34 +00:00
|
|
|
let
|
|
|
|
scheme = config.lib.stylix.scheme.withHashtag;
|
|
|
|
rainbow = with scheme; [
|
|
|
|
red
|
2024-12-17 09:15:32 +00:00
|
|
|
orange
|
2024-10-30 16:32:34 +00:00
|
|
|
yellow
|
|
|
|
green
|
|
|
|
cyan
|
|
|
|
blue
|
|
|
|
magenta
|
2024-12-17 09:15:32 +00:00
|
|
|
brown
|
2024-10-30 16:32:34 +00:00
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
2024-12-17 09:15:32 +00:00
|
|
|
cpu.cpu_core_colors = rainbow;
|
|
|
|
memory = {
|
|
|
|
ram_color = scheme.blue;
|
|
|
|
swap_color = scheme.green;
|
|
|
|
gpu_core_colors = rainbow;
|
|
|
|
};
|
|
|
|
network = {
|
|
|
|
rx_color = scheme.blue;
|
|
|
|
tx_color = scheme.green;
|
|
|
|
};
|
|
|
|
widgets = {
|
|
|
|
border_color = scheme.base04;
|
|
|
|
selected_border_color = scheme.base0E;
|
|
|
|
};
|
2024-10-30 16:32:34 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|