2ca47c02a4
hyprlock doesn't poll fprintd by default — pam_authenticate() is only invoked on password submission. Adding the auth.fingerprint block tells hyprlock to launch fprintd polling in parallel with the password input, so touching the reader unlocks immediately without typing first. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
general {
|
|
grace = 0
|
|
hide_cursor = true
|
|
}
|
|
|
|
auth {
|
|
fingerprint {
|
|
enabled = true
|
|
ready_message = Touch reader to unlock
|
|
present_message = Scanning…
|
|
retry_delay = 250
|
|
}
|
|
}
|
|
|
|
background {
|
|
monitor =
|
|
path = screenshot
|
|
blur_passes = 3
|
|
blur_size = 8
|
|
}
|
|
|
|
label {
|
|
monitor =
|
|
text = cmd[update:1000] date +"%-I:%M %p"
|
|
font_family = JetBrains Mono Nerd Font
|
|
font_size = 96
|
|
color = rgba(c5c8c6ff)
|
|
position = 0, 150
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
label {
|
|
monitor =
|
|
text = cmd[update:60000] date +"%A, %B %-d"
|
|
font_family = JetBrains Mono Nerd Font
|
|
font_size = 24
|
|
color = rgba(969896ff)
|
|
position = 0, 40
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
input-field {
|
|
monitor =
|
|
size = 300, 50
|
|
outline_thickness = 2
|
|
dots_size = 0.25
|
|
dots_spacing = 0.4
|
|
inner_color = rgba(282a2eff)
|
|
outer_color = rgba(81a2beff)
|
|
font_color = rgba(c5c8c6ff)
|
|
fail_color = rgba(cc6666ff)
|
|
check_color = rgba(b5bd68ff)
|
|
placeholder_text = <i>Touch fingerprint or type password</i>
|
|
fail_text = <i>$FAIL</i>
|
|
fade_on_empty = false
|
|
position = 0, -50
|
|
halign = center
|
|
valign = center
|
|
}
|