pub fn detect_fprintd_enrolled() -> boolExpand description
What: Check whether a fingerprint reader is enrolled via fprintd-list.
Inputs:
- None.
Output:
trueiffprintd-listreports at least one enrolled finger.
Details:
- Runs
fprintd-list $USERand checks the output for enrolled fingerprint entries. - Returns
falseiffprintd-listis not installed, the command fails, or no fingers are enrolled. - Does not require root;
fprintd-listreads enrollment data via D-Bus. - Informational only — never blocks execution.