home: wm: screen-lock: rename changed option
This commit is contained in:
parent
9b184f94ac
commit
66c3b70997
|
@ -35,20 +35,22 @@ in
|
||||||
|
|
||||||
lockCmd = cfg.command;
|
lockCmd = cfg.command;
|
||||||
|
|
||||||
xautolockExtraOptions = lib.optionals cfg.cornerLock.enable [
|
xautolock = {
|
||||||
# Mouse corners: instant lock on upper-left, never lock on lower-right
|
extraOptions = lib.optionals cfg.cornerLock.enable [
|
||||||
"-cornerdelay"
|
# Mouse corners: instant lock on upper-left, never lock on lower-right
|
||||||
"${toString cfg.cornerLock.delay}"
|
"-cornerdelay"
|
||||||
"-cornerredelay"
|
"${toString cfg.cornerLock.delay}"
|
||||||
"${toString cfg.cornerLock.delay}"
|
"-cornerredelay"
|
||||||
"-corners"
|
"${toString cfg.cornerLock.delay}"
|
||||||
"+00-"
|
"-corners"
|
||||||
] ++ lib.optionals cfg.notify.enable [
|
"+00-"
|
||||||
"-notify"
|
] ++ lib.optionals cfg.notify.enable [
|
||||||
"${toString cfg.notify.delay}"
|
"-notify"
|
||||||
"-notifier"
|
"${toString cfg.notify.delay}"
|
||||||
notficationCmd
|
"-notifier"
|
||||||
];
|
notficationCmd
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue