KeepingYouAwake
KeepingYouAwake copied to clipboard
Specify caffeinate mode on activation
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).
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.
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.
@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.