home: wm: screen-lock: rename changed option

This commit is contained in:
Bruno BELANYI 2021-10-22 13:15:16 +02:00
parent 9b184f94ac
commit 66c3b70997
1 changed files with 16 additions and 14 deletions

View File

@ -35,20 +35,22 @@ in
lockCmd = cfg.command;
xautolockExtraOptions = lib.optionals cfg.cornerLock.enable [
# Mouse corners: instant lock on upper-left, never lock on lower-right
"-cornerdelay"
"${toString cfg.cornerLock.delay}"
"-cornerredelay"
"${toString cfg.cornerLock.delay}"
"-corners"
"+00-"
] ++ lib.optionals cfg.notify.enable [
"-notify"
"${toString cfg.notify.delay}"
"-notifier"
notficationCmd
];
xautolock = {
extraOptions = lib.optionals cfg.cornerLock.enable [
# Mouse corners: instant lock on upper-left, never lock on lower-right
"-cornerdelay"
"${toString cfg.cornerLock.delay}"
"-cornerredelay"
"${toString cfg.cornerLock.delay}"
"-corners"
"+00-"
] ++ lib.optionals cfg.notify.enable [
"-notify"
"${toString cfg.notify.delay}"
"-notifier"
notficationCmd
];
};
};
};
}