This should eradicate the first failed auth attempt after sleep/hibernation
6 lines
271 B
Bash
6 lines
271 B
Bash
# Disable fingerprint in hyprlock if fingerprint auth is not configured
|
|
|
|
if omarchy-cmd-missing fprintd-list || ! fprintd-list "$USER" 2>/dev/null | grep -q "finger"; then
|
|
sed -i 's/fingerprint:enabled = .*/fingerprint:enabled = false/' ~/.config/hypr/hyprlock.conf
|
|
fi
|