Localize the fingerprint first-run notice
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
|||||||
# PAM file is the last thing the setup writes on success).
|
# PAM file is the last thing the setup writes on success).
|
||||||
if omarchy-hw-fingerprint && [[ ! -f /etc/pam.d/omarchy-lock-fingerprint ]] &&
|
if omarchy-hw-fingerprint && [[ ! -f /etc/pam.d/omarchy-lock-fingerprint ]] &&
|
||||||
omarchy-done ensure fingerprint-setup-invitation; then
|
omarchy-done ensure fingerprint-setup-invitation; then
|
||||||
omarchy-notification-send -u critical -g "Setup Fingerprint Reader" \
|
omarchy-notification-send -u critical -g "设置指纹识别" \
|
||||||
"Enable sudo and unlocking with your fingerprint." \
|
"用指纹完成 sudo 与解锁。" \
|
||||||
--exec omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fingerprint
|
--exec omarchy-launch-floating-terminal-with-presentation omarchy-setup-security-fingerprint
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user