From 67a6cec0a9a9b2c968e84060dc93ac8a5f934a76 Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Thu, 19 Mar 2026 00:10:20 +0100 Subject: [PATCH] feat: add fingerprint scanner --- .config/hypr/hyprlock.conf | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index 3e0cab8..0a30ca3 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -1,20 +1,25 @@ +auth { + fingerprint { + enabled = true + } +} + background { monitor = path = ~/.config/hypr/wallpapers/.current-background.jpg color = rgba(25, 20, 20, 1.0) # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations - - blur_passes = 3 - blur_size = 8 - contrast = 0.8916 + blur_passes = 3 + blur_size = 8 + contrast = 0.8916 brightness = 0.7172 vibrancy = 0.1696 vibrancy_darkness = 0 } animations { - enabled = false + enabled = true } input-field { @@ -57,7 +62,7 @@ label { text = $TIME color = rgba(242, 243, 244, 0.75) font_size = 93 - font_family = SF Pro Display Bold + font_family = SF Pro Display position = 0, 253 halign = center valign = center @@ -76,7 +81,7 @@ label { label { monitor = - text = Enter Password + text = Enter password or scan fingerprint color = rgba(242, 243, 244, 0.75) font_size = 10 font_family = SF Pro Display @@ -84,3 +89,14 @@ label { halign = center valign = center } + +label { + monitor = + text = $LAYOUT + color = rgba(242, 243, 244, 0.75) + font_size = 10 + font_family = SF Pro Display + position = -10, 10 + halign = right + valign = bottom +}