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
|
|
@ -11,12 +11,12 @@ in
|
|||
|
||||
lockCmd = cfg.command;
|
||||
|
||||
xautolockExtraOptions = lib.optionals cfg.cornerLock [
|
||||
xautolockExtraOptions = lib.optionals cfg.cornerLock.enable [
|
||||
# Mouse corners: instant lock on upper-left, never lock on lower-right
|
||||
"-cornerdelay"
|
||||
"5"
|
||||
"${toString cfg.cornerLock.delay}"
|
||||
"-cornerredelay"
|
||||
"5"
|
||||
"${toString cfg.cornerLock.delay}"
|
||||
"-corners"
|
||||
"+00-"
|
||||
] ++ lib.optionals cfg.notify [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue