C3: configurable maxHistory (default 50)

This commit is contained in:
Damocles 2026-04-13 16:58:10 +02:00
parent 176f8a1871
commit bc3236fce6
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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);