home: wm: screen-lock: add corner delay setting
This commit is contained in:
parent
05e0cd4e1f
commit
1b9b598662
2 changed files with 16 additions and 7 deletions
|
|
@ -47,10 +47,19 @@ in
|
|||
description = "Locker command to run";
|
||||
};
|
||||
|
||||
cornerLock = my.mkDisableOption ''
|
||||
Move mouse to upper-left corner to lock instantly, lower-right corner to
|
||||
disable auto-lock.
|
||||
'';
|
||||
cornerLock = {
|
||||
enable = my.mkDisableOption ''
|
||||
Move mouse to upper-left corner to lock instantly, lower-right corner to
|
||||
disable auto-lock.
|
||||
'';
|
||||
|
||||
delay = mkOption {
|
||||
type = types.int;
|
||||
default = 5;
|
||||
example = 15;
|
||||
description = "How many seconds before locking this way";
|
||||
};
|
||||
};
|
||||
|
||||
notify = my.mkDisableOption "Notify when about to lock the screen";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue