hyprlock icon indicating copy to clipboard operation
hyprlock copied to clipboard

Way to toggle or manually prompt fingerprint reading at unlock screen

Open BBaoVanC opened this issue 1 year ago • 6 comments

Description

The new parallel fingerprint unlock support is awesome: much better than the pam hacks. But, I used to be able to use my power button (part of the fingerprint sensor) to put my laptop back to sleep and cancel the unlock after waking it up. Now, because it's trying to read fingerprint simultaneously, the power button gets ignored. I don't really have any way to cancel the unlock now apart from closing the laptop lid.

It would be nice to have an option to make it prompt before reading fingerprint, instead of just constantly reading while hyprlock is active.

BBaoVanC avatar Oct 29 '24 18:10 BBaoVanC

So you would like to have a key-bind to cancel fingerprint authentication? Or what exactly do you have in mind?

PointerDilemma avatar Oct 31 '24 09:10 PointerDilemma

Preferably a keybind to cancel the fingerprint author temporarily. There should be a way to trigger it again, and it would be nice if it automatically triggered fprint auth after resuming from sleep even if it was cancelled before.

I could also see having an option to not prompt for fingerprint automatically, but instead require a key bind to trigger it first

Another way is to have a keybind to go back to sleep. Then it should still prompt after waking back up.

BBaoVanC avatar Oct 31 '24 14:10 BBaoVanC

Another way is to have a keybind to go back to sleep. Then it should still prompt after waking back up.

Just use hyprland bindl. I don't think we need to implement that in hyprlock.

PointerDilemma avatar Oct 31 '24 16:10 PointerDilemma

That is a good point, can I make the bind only work when locked (so I could bind it to something simple like esc)?

BBaoVanC avatar Nov 01 '24 01:11 BBaoVanC

Another way is to have a keybind to go back to sleep. Then it should still prompt after waking back up.

Just use hyprland bindl. I don't think we need to implement that in hyprlock.

Actually, I just thought of another use. My fingerprint sensor gets hot after hyprlock has been sitting idle waiting to read the fingerprint, and I have my idle set up so it locks the screen 30 seconds before sleeping. Maybe if there was an option for hyprlock to not read fingerprint until you give it some keybind to begin that would fix it.

BBaoVanC avatar Nov 01 '24 05:11 BBaoVanC

I should reword it; more what I am looking for is for it to not just automatically read the fingerprint constantly. It should prompt, or require a keybind or something to start fingerprint reading.

BBaoVanC avatar Nov 09 '24 18:11 BBaoVanC