agent-shell icon indicating copy to clipboard operation
agent-shell copied to clipboard

Integrate system-sleep?

Open shipmints opened this issue 5 months ago • 2 comments

One can now prevent the system from sleeping and/or the display blanking in Emacs 31 using the new library system-sleep. This may be useful to integrate or at least mention in the documentation for people who expect long-running sessions to continue working without sleep interruption. It does not prevent "hard sleeping" i.e., closing the lid on your laptop but it does have a hook you can use to know when the system is about to sleep and after it has woken up and take an appropriate action to suspend/resume things.

shipmints avatar Jun 11 '26 15:06 shipmints

Neat! Thanks for this. I'll look into either integrating or mentioning in README.

xenodium avatar Jul 04 '26 21:07 xenodium

Added in https://github.com/xenodium/agent-shell/commit/4f05fcf13f0c5a8116f11d7763e2ad96bd54f88a

xenodium avatar Jul 06 '26 09:07 xenodium