bottom config

This commit is contained in:
Ivan Dimitrov 2023-11-26 11:58:56 +02:00
parent 3f807d60f5
commit 1c7e6cc384
4 changed files with 35 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ system, pkgs, home-manager, modules, ... }:
let
ivand-programs = with modules.home.programs; [ nvim zsh tmux git chromium kitty lf obs-studio sway swaylock browserpass ];
ivand-programs = with modules.home.programs; [ nvim zsh tmux git chromium kitty lf obs-studio sway swaylock browserpass bottom ];
ivand-packages = with modules.home.packages; [ dev essential media ];
vid-programs = with modules.home.programs; [ nvim zsh tmux ];
in

View File

@ -13,7 +13,6 @@
imv
ripgrep
bat
bottom
procs
mupdf
gopass

View File

@ -0,0 +1,33 @@
{
programs.bottom = {
enable = true;
settings = {
flags = {
rate = "250ms";
};
row = [
{
ratio = 40;
child = [
{ type = "cpu"; }
{ type = "mem"; }
{ type = "net"; }
];
}
{
ratio = 35;
child = [
{ type = "temp"; }
{ type = "disk"; }
];
}
{
ratio = 40;
child = [
{ type = "proc"; default = true; }
];
}
];
};
};
}

View File

@ -13,4 +13,5 @@
zsh = import ./zsh { inherit pkgs; };
browserpass = { programs.browserpass.enable = true; };
sway = import ./sway { inherit pkgs; };
bottom = import ./bottom;
}