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

Separate blank and lock #47

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

confluence
Copy link

I wanted to decouple blanking the screen from locking the screen, because I would like to blank to save power if I step away from the computer briefly, but I don't want to lock the screen automatically until much later.

This PR uses the previous "blank" preference for blanking, and adds a new separate preference for locking.

I also made it possible to lock first and blank later, in case someone has the opposite use case. (This requires noblank to be set with xset, because the default behaviour is to blank). Sometimes I see a crosshatch pattern before the xsecurelock saver kicks in, but this appears to be a random (?) glitch and not something that powerkit is responsible for. Most of the time the saver is displayed immediately, as expected.

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

Successfully merging this pull request may close these issues.

None yet

1 participant