dotfiles/nixos/i3/i3-status.nix
Cyryl Płotnicki 3d6dd759c4 nixfmt
2022-03-10 12:25:23 +00:00

36 lines
808 B
Nix

{ config, pkgs, ... }: {
programs.i3status = {
enable = true;
enableDefault = false;
modules = {
"load" = { position = 1; };
"disk /" = {
position = 2;
settings = { format = " %avail"; };
};
"memory" = {
settings = {
format = " %available";
format_degraded = " LOW: %free";
memory_used_method = "classical";
};
position = 2;
};
"battery all" = {
settings = {
status_chr = "";
status_bat = "";
status_full = "";
low_threshold = 30;
threshold_type = "time";
};
position = 3;
};
"time" = {
settings = { format = "%a %d/%m %H:%M"; };
position = 9;
};
};
};
}