home: wm: screen-lock: add xautolock options
This commit is contained in:
parent
9f6c614c9f
commit
cdc29efafc
2 changed files with 23 additions and 1 deletions
|
|
@ -47,6 +47,13 @@ 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.
|
||||
'';
|
||||
|
||||
notify = my.mkDisableOption "Notify when about to lock the screen";
|
||||
|
||||
timeout = mkOption {
|
||||
type = types.ints.between 1 60;
|
||||
default = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue