Files
omarchy/migrations/1770372978.sh
David Heinemeier Hansson 050899e5b3 Echo the migration description
2026-02-06 11:25:05 +01:00

6 lines
276 B
Bash

echo "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