feat(ags): add fprint-grosshack support for lockscreen
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-19 20:43:43 -04:00
parent 8eaf865994
commit ab6e7efc1c
2 changed files with 7 additions and 0 deletions

View file

@ -204,5 +204,11 @@ const on_finished = () => {
lock.connect('locked', on_locked); lock.connect('locked', on_locked);
lock.connect('finished', on_finished); lock.connect('finished', on_finished);
if (Vars.hasFprintd) {
Utils.authenticate('')
.then(() => unlock())
.catch(logError);
}
export default () => lock.lock_lock(); export default () => lock.lock_lock();

View file

@ -94,6 +94,7 @@ in {
export default { export default {
mainMonitor: '${mainMonitor}', mainMonitor: '${mainMonitor}',
dupeLockscreen: ${boolToString greetdDupe}, dupeLockscreen: ${boolToString greetdDupe},
hasFprintd: ${boolToString (hostName == "wim")},
}; };
''; '';
} }