52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
|
{ config, pkgs, ... }:{
|
||
|
|
||
|
programs.i3status-rust = {
|
||
|
enable = true;
|
||
|
bars = {
|
||
|
bottom = {
|
||
|
blocks = [
|
||
|
{
|
||
|
block = "disk_space";
|
||
|
path = "/";
|
||
|
alias = "/";
|
||
|
info_type = "available";
|
||
|
unit = "GB";
|
||
|
interval = 60;
|
||
|
warning = 20.0;
|
||
|
alert = 10.0;
|
||
|
}
|
||
|
{
|
||
|
block = "memory";
|
||
|
display_type = "memory";
|
||
|
format_mem = "{mem_used_percents}";
|
||
|
format_swap = "{swap_used_percents}";
|
||
|
}
|
||
|
{
|
||
|
block = "cpu";
|
||
|
interval = 1;
|
||
|
}
|
||
|
{
|
||
|
block = "load";
|
||
|
interval = 1;
|
||
|
format = "{1m}";
|
||
|
}
|
||
|
{ block = "sound"; }
|
||
|
{
|
||
|
block = "backlight";
|
||
|
}
|
||
|
{
|
||
|
block = "battery";
|
||
|
}
|
||
|
{
|
||
|
block = "time";
|
||
|
interval = 60;
|
||
|
format = "%a %d/%m %R";
|
||
|
}
|
||
|
];
|
||
|
icons = "material-nf";
|
||
|
theme = "nord-dark";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|