-
Notifications
You must be signed in to change notification settings - Fork 203
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
RFE: Delay asking for a password #50
Comments
I bet this can be implemented with |
well if there was a passwordless swaylock that would work :) or if there was a |
I'd like not to implement this in swaylock/sway, since this can be implemented by a third-party client. |
would you be ok with someone else implementing it? |
Clarification: I'd like not to have this in swaylock/sway, since this can be implemented by a third-party client. This means you can write the third-party client. ;) |
I think that option is suboptimal, and probably error prone, but sigh |
master...gdamjan:delay-password there it is for anyone else |
This should definitely be part of swaylock since we want to display (and abort) the actual lock screen. Feels like it would be a lot of work for a third party application to implement all of swaylocks display settings and render the exact same image before swaylock actually kicks in. |
Nah, just open a layer shell surface that spawns swaylock after a timeout. |
This sounds great. Can this easily be achieved with currently available tools? |
Could be a pretty simple C program. |
this should be default behavior imo not something users have to manually configure. the current behavior is a usability fail. |
As the maintainer of the project, I disagree and will not be enabling this behavior by default. |
how about if it's optional? (my current branch has that) |
I don't really like it. I think that it would be worth having a more featureful fork of swaylock out there which is more open to including features like that. |
I feel like we've already discussed about that, @gdamjan. |
Sorry for commenting on an ancient thread, but i think it's relevant (and, as #139 shows, people are still discussing it). I just merged gdamjan/swaylock:delay-password in to swaylock-effects: mortie@c0f6b94 |
So I copied something like the following out of /etc/sway.conf:
After reading this thread I decided the simplest thing to do was changed it thus:
I'm sure that'll work fine. I'm just too lazy to wait around to test it right now. I think this works better than a grace period. If I see the notification then simply dismissing it is enough to reset the timeout, and in the mean time I can still see whatever I'm watching. And if I don't see the notification then it really doesn't matter what happens next. |
I wrote a manager script for swayidle / swaylock that manually handles the logic: https://gist.github.com/mensinda/94d0b05604bbb50f9b5bd4a5f1b48bfb After finishing this script, a friend told me that swaylock-effects has this feature built in... |
most screen lockers these days have an option to delay the password requirement, so that if your locker activates you have 2-3 seconds to just press a button and get your screen back without typing the password.
The text was updated successfully, but these errors were encountered: