C3: configurable maxHistory (default 50)
This commit is contained in:
parent
176f8a1871
commit
bc3236fce6
2 changed files with 7 additions and 1 deletions
|
|
@ -23,7 +23,8 @@ QtObject {
|
||||||
enable: true,
|
enable: true,
|
||||||
timeout: 3000,
|
timeout: 3000,
|
||||||
maxPopups: 4,
|
maxPopups: 4,
|
||||||
maxVisible: 10
|
maxVisible: 10,
|
||||||
|
maxHistory: 50
|
||||||
})
|
})
|
||||||
property var mpris: ({
|
property var mpris: ({
|
||||||
enable: true
|
enable: true
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,11 @@ in
|
||||||
default = 10;
|
default = 10;
|
||||||
description = "Maximum visible notifications in the notification center before scrolling.";
|
description = "Maximum visible notifications in the notification center before scrolling.";
|
||||||
};
|
};
|
||||||
|
maxHistory = lib.mkOption {
|
||||||
|
type = lib.types.int;
|
||||||
|
default = 50;
|
||||||
|
description = "Maximum notifications kept in history.";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
bluetooth = moduleOpt "bluetooth" (intervalOpt 5000);
|
bluetooth = moduleOpt "bluetooth" (intervalOpt 5000);
|
||||||
network = moduleOpt "network" (intervalOpt 5000);
|
network = moduleOpt "network" (intervalOpt 5000);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue