mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
lock: remove useless comment, declare fingerprint check proc running directly
This commit is contained in:
@@ -2,7 +2,7 @@ import qs
|
||||
import qs.modules.common
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io // Required for StdioCollector
|
||||
import Quickshell.Io
|
||||
import Quickshell.Services.Pam
|
||||
|
||||
Scope {
|
||||
@@ -22,10 +22,6 @@ Scope {
|
||||
property bool fingerprintsConfigured: false
|
||||
property var targetAction: LockContext.ActionEnum.Unlock
|
||||
|
||||
Component.onCompleted: {
|
||||
fingerprintCheckProcess.running = true;
|
||||
}
|
||||
|
||||
function resetTargetAction() {
|
||||
root.targetAction = LockContext.ActionEnum.Unlock;
|
||||
}
|
||||
@@ -77,7 +73,8 @@ Scope {
|
||||
}
|
||||
|
||||
Process {
|
||||
id: fingerprintCheckProcess
|
||||
id: fingerprintCheckProc
|
||||
running: true
|
||||
command: ["bash", "-c", "fprintd-list $(whoami)"]
|
||||
stdout: StdioCollector {
|
||||
id: fingerprintOutputCollector
|
||||
|
||||
Reference in New Issue
Block a user