Keep Claude Code and Codex running with the lid closed using free Amphetamine app
JeremyNguyenPhD · x · 2026-09-28
You don't have to keep your laptop half open while running long Claude Code or Codex sessions. The trick: install the free Amphetamine app on Mac, and in Settings uncheck Closed-Display Mode so the machine keeps working with the lid shut. On Windows you don't even need an app — a built-in setting does the job. Amphetamine also offers automation triggers (external display connected, specific app running, charging state) for keep-awake sessions.
More from coding & agent
- 13 Free Claude Courses With Certificates Cover MCP, Agent Skills and Cloud Integration — nikola_mr64990 · 2026-09-28
- RAG Project Ideas for Hands-On Experience With the Most In-Demand AI Skill — _jaydeepkarale · 2026-09-28
- Guizang Open-Sources a Skill That Turns Codebases Into Product Launch Videos — op7418 · 2026-09-28
- OpenCode Launches Go Plus at $40/Month With Higher Limits — intellectronica · 2026-09-28
- Dev Left GPT-6 Astra Playing Minecraft Overnight, Woke Up to a Diamond — nikola_mr64990 · 2026-09-28
- Codex found 173 employees at major AI labs among his 20k followers — Hesamation · 2026-09-28