Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to toggle or manually prompt fingerprint reading at unlock screen #538

Open
BBaoVanC opened this issue Oct 29, 2024 · 6 comments
Open
Labels
enhancement New feature or request

Comments

@BBaoVanC
Copy link

BBaoVanC commented Oct 29, 2024

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 BBaoVanC added the enhancement New feature or request label Oct 29, 2024
@PaideiaDilemma
Copy link
Contributor

PaideiaDilemma commented Oct 31, 2024

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

@BBaoVanC
Copy link
Author

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.

@PaideiaDilemma
Copy link
Contributor

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.

@BBaoVanC
Copy link
Author

BBaoVanC commented Nov 1, 2024

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
Copy link
Author

BBaoVanC commented Nov 1, 2024

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 BBaoVanC changed the title Way to cancel parallel fingerprint unlock Way to toggle or manually prompt fingerprint reading at unlock screen Nov 9, 2024
@BBaoVanC
Copy link
Author

BBaoVanC commented Nov 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants