docs: add disk.warnThreshold to readme and hm-module
This commit is contained in:
parent
4b5272c124
commit
8177b5e2a2
2 changed files with 12 additions and 2 deletions
|
|
@ -144,7 +144,16 @@ in
|
|||
description = "Maximum notifications kept in history (-1 for unlimited).";
|
||||
};
|
||||
};
|
||||
disk = moduleOpt "disk" (intervalOpt 30000);
|
||||
disk = moduleOpt "disk" (
|
||||
(intervalOpt 30000)
|
||||
// {
|
||||
warnThreshold = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 85;
|
||||
description = "Usage percentage at which the disk module bar turns warning color.";
|
||||
};
|
||||
}
|
||||
);
|
||||
backlight = moduleOpt "backlight" {
|
||||
step = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue