added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
33
nyx/homes/notashelf/programs/terminal/tools/bottom.nix
Normal file
33
nyx/homes/notashelf/programs/terminal/tools/bottom.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
# replace top and htop with bottom
|
||||
# if breaks shit? cope.
|
||||
(writeScriptBin "htop" ''exec btm'')
|
||||
(writeScriptBin "top" ''exec btm'')
|
||||
];
|
||||
programs.bottom = {
|
||||
enable = true;
|
||||
settings = {
|
||||
flags.group_processes = true;
|
||||
row = [
|
||||
{
|
||||
ratio = 2;
|
||||
child = [
|
||||
{type = "cpu";}
|
||||
{type = "mem";}
|
||||
];
|
||||
}
|
||||
{
|
||||
ratio = 3;
|
||||
child = [
|
||||
{
|
||||
type = "proc";
|
||||
ratio = 1;
|
||||
default = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue