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

Add display sleep support #148

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

electric-art
Copy link
Contributor

Here's my attempt to add display sleep support.

I am not experienced in this at all, so apologies if there are obvious mistakes.

Basically I've tried to implement a preference that uses caffeinate with the '-i' argument to allow display sleep while keeping the machine awake.

thanks, hope this helps.
Tristan.

#138 #115 #25 #12

@agret
Copy link

agret commented Mar 21, 2020

Great idea. I'd love if you could add a menu item to immediately sleep the display when clicked too, sometimes have to leave things copying and don't want any burn-in to occur on the display.

@ahydronous
Copy link

@newmarcel any chance of taking a peek at this pull request?

@newmarcel newmarcel merged commit 66ec767 into newmarcel:master May 1, 2020
@newmarcel
Copy link
Owner

Merged. Thank you for your contribution 👍 and sorry for the delayed response

@basnijholt
Copy link

Great feature!

After how long will the display "go to sleep"?

@electric-art
Copy link
Contributor Author

Great feature!

After how long will the display "go to sleep"?

How long depends upon what you have set in the System Preferences under 'Energy Saver'.

@basnijholt
Copy link

Great! That's what I expected 😄

Do you know if any of these other settings interfere:
image

@electric-art
Copy link
Contributor Author

Great! That's what I expected 😄

Do you know if any of these other settings interfere:

I don't believe so but I'm not sure. That's more of a macOS thing than a KeepingYouAwake thing I think!

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.

5 participants