nixos/system/home/shell/bottom.nix

45 lines
971 B
Nix

{ config, ... }:
{
programs.bottom = {
enable = true;
settings = {
flags = {
group_processes = true;
temperature_type = "celsius";
battery = true;
enable_gpu = true;
};
styles =
let
scheme = config.lib.stylix.scheme.withHashtag;
rainbow = with scheme; [
red
orange
yellow
green
cyan
blue
magenta
brown
];
in
{
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;
};
};
};
};
}