home: wm: screen-lock: rename changed option

This commit is contained in:
Bruno BELANYI 2021-10-22 13:15:16 +02:00
parent 3058636c87
commit 14e4e681aa

View file

@ -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
];
};
}; };
}; };
} }