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

Specify caffeinate mode on activation #12

Open
oWretch opened this issue Dec 21, 2014 · 3 comments
Open

Specify caffeinate mode on activation #12

oWretch opened this issue Dec 21, 2014 · 3 comments

Comments

@oWretch
Copy link

oWretch commented Dec 21, 2014

Hi there,

From reading the caffeinate man page, I noticed an interesting feature that would be extremely handy to add. Caffeinate can take an option which specifies the type of sleep to prevent. It could be useful to allow (not mandate) that activating sleep prevention could allow the screen saver while still preventing the system from completely sleeping, for example (option -s to caffeinate).

@newmarcel
Copy link
Owner

Good idea! This can easily be implemented as some kind of advanced option for power users.

I'm still thinking about ways to ship these kinds of advanced settings in the future. I'll try to solve this with version 1.3.

@timkite
Copy link

timkite commented Feb 8, 2018

I would like to see this too. The newer iMacs, for example, no longer have separate system sleep and display sleep timers. It would be nice to have a toggle between letting everything go to sleep and only letting the display go to sleep. That way during the workday my VPNs, IM clients, etc. stay connected, but at night if I wake my machine up with BackToMyMac, it automatically goes back to sleep after.

@findepi
Copy link

findepi commented Feb 16, 2019

@newmarcel i started using your app just recently -- thanks for it!
It's handy because clicking an icon is easier than keeping a terminal open around.
However, having control what parameters caffeinate is started with would be great. For example, I want to run it in its default mode (-i), whereas KeepingYouAwake runs it with -id, preventing screen lock from kicking in.

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

No branches or pull requests

4 participants