KeepingYouAwake icon indicating copy to clipboard operation
KeepingYouAwake copied to clipboard

Specify caffeinate mode on activation

Open oWretch opened this issue 10 years ago • 3 comments

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).

oWretch avatar Dec 21 '14 05:12 oWretch

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.

newmarcel avatar Dec 23 '14 20:12 newmarcel

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.

timkite avatar Feb 08 '18 22:02 timkite

@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.

findepi avatar Feb 16 '19 13:02 findepi