This repository has been archived on 2024-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
home-manager/programs/bottom/default.nix
Evie Litherland-Smith 10db59de2a Initial add of copied files
Probably not in a working state at the moment, but home-manager will
build. Needs proper configuring to be used
2024-05-11 13:55:23 +01:00

36 lines
964 B
Nix

{
config,
accentColour ? "base07",
...
}: {
programs.bottom = {
enable = true;
settings.colors = with config.scheme.withHashtag; let
rainbow = [red yellow green cyan blue magenta];
in {
table_header_color = base05;
all_cpu_color = base05;
avg_cpu_color = base05;
cpu_core_colors = rainbow;
ram_color = red;
cache_color = green;
swap_color = blue;
rx_color = green;
tx_color = blue;
widget_title_color = config.scheme.withHashtag.${accentColour};
border_color = base02;
highlighted_border_color = config.scheme.withHashtag.${accentColour};
text_color = base05;
graph_color = base04;
cursor_color = base02;
selected_text_color = base05;
selected_bg_color = base01;
high_battery_color = green;
medium_battery_color = yellow;
low_battery_color = red;
gpu_core_colors = rainbow;
arc_color = cyan;
};
};
}