add per-applet toggle options for lock screen widgets
This commit is contained in:
parent
8f66d67029
commit
74967d798c
4 changed files with 19 additions and 4 deletions
|
|
@ -96,11 +96,22 @@ in
|
|||
"power"
|
||||
"backgroundOverlay"
|
||||
"overviewBackdrop"
|
||||
"lock"
|
||||
] (name: moduleOpt name { });
|
||||
in
|
||||
simpleModules
|
||||
// {
|
||||
lock = moduleOpt "lock" {
|
||||
mpris = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Show media controls on the lock screen.";
|
||||
};
|
||||
volume = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Show volume slider on the lock screen.";
|
||||
};
|
||||
};
|
||||
notifications = moduleOpt "notifications" {
|
||||
timeout = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue