diff --git a/modules/ags/config/ts/lockscreen/main.ts b/modules/ags/config/ts/lockscreen/main.ts index 035f3b00..1a70606c 100644 --- a/modules/ags/config/ts/lockscreen/main.ts +++ b/modules/ags/config/ts/lockscreen/main.ts @@ -204,5 +204,11 @@ const on_finished = () => { lock.connect('locked', on_locked); lock.connect('finished', on_finished); +if (Vars.hasFprintd) { + Utils.authenticate('') + .then(() => unlock()) + .catch(logError); +} + export default () => lock.lock_lock(); diff --git a/modules/ags/default.nix b/modules/ags/default.nix index 9a5e5c41..c428f70f 100644 --- a/modules/ags/default.nix +++ b/modules/ags/default.nix @@ -94,6 +94,7 @@ in { export default { mainMonitor: '${mainMonitor}', dupeLockscreen: ${boolToString greetdDupe}, + hasFprintd: ${boolToString (hostName == "wim")}, }; ''; }