Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

caffeinate -is -t 7200 claude --remote-control

then Control + Command + Q ftw

(keep system from sleeping if plugged in, keep system from going idle even if not plugged in, for 2 hours, start claude code w/ remote control enabled, lock my mac w/ the keyboard shutcut)

 help



The Amphetamine app from the App Store keeps a MacBook awake even with the lid closed.

You need an app for that?

I know right? On Linux for example GNOME needs an extension and only KDE seems to have a handy toggle available from the get go. It seems the normal is to NOT make a feature like this easily available.

I guess `caffeinate` doesn't go that far because it can easily lead to overheating.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: