2022-03-10 12:25:23 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2021-11-22 19:32:26 +00:00
|
|
|
programs.i3status = {
|
2021-06-03 19:57:29 +01:00
|
|
|
enable = true;
|
|
|
|
enableDefault = false;
|
|
|
|
modules = {
|
2022-03-10 12:25:23 +00:00
|
|
|
"load" = { position = 1; };
|
2021-06-03 19:57:29 +01:00
|
|
|
"disk /" = {
|
|
|
|
position = 2;
|
2022-03-10 12:25:23 +00:00
|
|
|
settings = { format = " %avail"; };
|
2021-06-04 18:14:38 +01:00
|
|
|
};
|
|
|
|
"memory" = {
|
|
|
|
settings = {
|
2021-06-04 19:22:46 +01:00
|
|
|
format = " %available";
|
|
|
|
format_degraded = " LOW: %free";
|
2021-06-04 18:14:38 +01:00
|
|
|
memory_used_method = "classical";
|
2021-06-03 19:57:29 +01:00
|
|
|
};
|
2021-06-04 18:14:38 +01:00
|
|
|
position = 2;
|
2021-06-03 19:57:29 +01:00
|
|
|
};
|
|
|
|
"battery all" = {
|
|
|
|
settings = {
|
|
|
|
status_chr = "";
|
|
|
|
status_bat = "";
|
|
|
|
status_full = "";
|
2021-06-04 17:58:48 +01:00
|
|
|
low_threshold = 30;
|
|
|
|
threshold_type = "time";
|
2021-06-03 19:57:29 +01:00
|
|
|
};
|
|
|
|
position = 3;
|
|
|
|
};
|
2021-06-03 20:03:32 +01:00
|
|
|
"time" = {
|
2022-03-10 12:25:23 +00:00
|
|
|
settings = { format = "%a %d/%m %H:%M"; };
|
2021-06-03 20:03:32 +01:00
|
|
|
position = 9;
|
|
|
|
};
|
2021-06-03 19:57:29 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|