remove dead temperature.interval config option
This commit is contained in:
parent
3854763ce5
commit
4d730f51f3
2 changed files with 12 additions and 16 deletions
|
|
@ -55,7 +55,6 @@ QtObject {
|
|||
})
|
||||
property var temperature: ({
|
||||
enable: true,
|
||||
interval: 2000,
|
||||
warm: 80,
|
||||
hot: 90
|
||||
})
|
||||
|
|
|
|||
|
|
@ -127,9 +127,7 @@ in
|
|||
description = "Brightness adjustment step (%).";
|
||||
};
|
||||
};
|
||||
temperature = moduleOpt "temperature" (
|
||||
(intervalOpt 2000)
|
||||
// {
|
||||
temperature = moduleOpt "temperature" {
|
||||
warm = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = 80;
|
||||
|
|
@ -140,8 +138,7 @@ in
|
|||
default = 90;
|
||||
description = "Temperature threshold for hot state (°C).";
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
battery = moduleOpt "battery" {
|
||||
warning = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue