feat(ags): add fprint-grosshack support for lockscreen
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
8eaf865994
commit
ab6e7efc1c
2 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||||
|
|
|
@ -94,6 +94,7 @@ in {
|
||||||
export default {
|
export default {
|
||||||
mainMonitor: '${mainMonitor}',
|
mainMonitor: '${mainMonitor}',
|
||||||
dupeLockscreen: ${boolToString greetdDupe},
|
dupeLockscreen: ${boolToString greetdDupe},
|
||||||
|
hasFprintd: ${boolToString (hostName == "wim")},
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue