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

Resume on fprint activity #112

Open
noahgitsham opened this issue Nov 27, 2024 · 1 comment
Open

Resume on fprint activity #112

noahgitsham opened this issue Nov 27, 2024 · 1 comment

Comments

@noahgitsham
Copy link

I have a listener that dims my screen and starts hyprlock (with parallel fingerprint authentication) on timeout, would be nice if there were some way for it to resume after touching the fingerprint scanner, so that my screen undims.

Not sure if watching the fprintd service activity would be the best way to go about implementing this, but it may be worth generalising, allowing the user to configure any service which resumes the listener on activity.

@Iamanaws
Copy link

Iamanaws commented Dec 24, 2024

According to the wiki

unlock_cmd: command to run when receiving a dbus unlock event (e.g. loginctl unlock-session)

So in theory you could do

unlock_cmd = "hyprctl dispatch dpms on";

or I see u were using a 'light' command

unlock_cmd = "light -I";

But in my testing it hasn't worked with hyprlock.

What I saw that Hyprlock generates the PropertiesChanged signal to indicate that the fingerprint was match and is no longer required but Hypridle is only matching Unlock signals.

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

No branches or pull requests

2 participants