Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed Sep 2, 2024
1 parent 61b7e11 commit 947a663
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 47 deletions.
44 changes: 0 additions & 44 deletions home-manager/programs/bottom/bottom.toml

This file was deleted.

63 changes: 60 additions & 3 deletions home-manager/programs/bottom/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,62 @@
{
home.file.".config/bottom/bottom.toml".source = ./bottom.toml;

programs.bottom.enable = true;
programs.bottom = {
enable = true;
settings = {
row = [
{
child = [
{
ratio = 2;
type = "cpu";
}
{ type = "mem"; }
];
}
{
child = [
{
ratio = 2;
type = "net";
}
{
ratio = 2;
type = "disk";
}
{ type = "temp"; }
];
}
{
ratio = 3;
child = [{
default = true;
type = "proc";
}];
}
];
colors = {
avg_cpu_color = "Red";
border_color = "White";
graph_color = "Gray";
highlighted_border_color = "LightMagenta";
selected_bg_color = "Magenta";
selected_text_color = "Black";
table_header_color = "Blue";
text_color = "White";
widget_title_color = "Cyan";
};
disk_filter = {
is_list_ignored = true;
list = [ "/dev/loop\\d+" ];
regex = true;
};
flags = {
basic = false;
case_sensitive = false;
dot_marker = false;
group_processes = true;
hide_table_gap = true;
rate = 700;
};
};
};
}

0 comments on commit 947a663

Please sign in to comment.