dotfiles/nixos/i3/i3-status.nix

41 lines
806 B
Nix
Raw Normal View History

2021-06-03 19:57:29 +01:00
{ config, pkgs, ... }:
{
programs.i3status= {
enable = true;
enableDefault = false;
modules = {
"disk /" = {
position = 2;
settings = {
2021-06-04 18:14:38 +01:00
format = " %avail";
};
};
"memory" = {
settings = {
format = " %free";
format_degraded = " LOW: %free";
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" = {
settings = {
2021-06-04 18:14:38 +01:00
format = "%a %d/%m %H:%M";
2021-06-03 20:03:32 +01:00
};
position = 9;
};
2021-06-03 19:57:29 +01:00
};
};
}