Capsomnia turns Caps Lock into a physical switch that keeps your MacBook awake. Keep Claude Code, Codex, other AI agents, SSH sessions, builds, downloads, and more running after you close the lid. If Caps Lock is already assigned, choose another shortcut. The Caps Lock light still shows whether Capsomnia is active. The app is free and open source, signed and notarized. No accounts or telemetry. We’ve already seen strong interest in Japan: 2.3M+ views and 6,000+ downloads.
Hey everyone quick heads up before tomorrow's launch (July 25, 4:01pm JST / 12:01am PT).
I built Capsomnia because I kept closing my MacBook mid-SSH-session, mid-build, or mid-AI-agent-run and losing all the progress. Turns out Caps Lock is basically dead weight on a Mac keyboard, so I repurposed it: toggle it on, and your Mac keeps running even with the lid closed.
Congrats on shipping this! Using Caps Lock as the switch is such a nice call, no menu bar clutter and nothing new to remember. Did you land on Caps Lock straight away, or try a few other keys first?
Thank you! Caps Lock was pretty much the obvious first choice. It has a physical indicator, is easy to toggle, and lets Capsomnia stay out of the way without adding menu bar clutter. I briefly considered other keys, but nothing else offered the same combination of visibility and simplicity.
Report
Clever idea. Any opportunity to add an audible reminder, maybe three simple beeps, shortly after the lid is closed? Could be a settings preference. Would allow for a confirmation that the system is still working (since you can no loner see the caps lock light), and would allow for turning it off if you forgot it was on and the intent was simply to put the system to sleep.
That’s a great suggestion. Once the lid is closed, the lack of a visible indicator is definitely a trade-off. A short three-beep reminder could provide useful confirmation, while a setting to disable it would cover the case where you simply wanted to put the Mac to sleep. I’ll add this to the feature ideas. thank you!
Brilliant repurposing of the most neglected key on the Mac keyboard, and using the Caps Lock light as a live status indicator is a genuinely clever touch.
Terminal Candy
Congrats on shipping this! Using Caps Lock as the switch is such a nice call, no menu bar clutter and nothing new to remember. Did you land on Caps Lock straight away, or try a few other keys first?
Capsomnia
@terminal_candy
Thank you! Caps Lock was pretty much the obvious first choice. It has a physical indicator, is easy to toggle, and lets Capsomnia stay out of the way without adding menu bar clutter. I briefly considered other keys, but nothing else offered the same combination of visibility and simplicity.
Clever idea. Any opportunity to add an audible reminder, maybe three simple beeps, shortly after the lid is closed? Could be a settings preference. Would allow for a confirmation that the system is still working (since you can no loner see the caps lock light), and would allow for turning it off if you forgot it was on and the intent was simply to put the system to sleep.
Capsomnia
@joe_farren
That’s a great suggestion. Once the lid is closed, the lack of a visible indicator is definitely a trade-off. A short three-beep reminder could provide useful confirmation, while a setting to disable it would cover the case where you simply wanted to put the Mac to sleep. I’ll add this to the feature ideas. thank you!
Capsomnia
@lakshminath_dondeti
That’s exactly the reaction we were hoping for! 😅
Brilliant repurposing of the most neglected key on the Mac keyboard, and using the Caps Lock light as a live status indicator is a genuinely clever touch.
Capsomnia
@ilko_kacharov
Thank you! The Caps Lock key was hiding in plain sight and its indicator light made it feel like a tiny built-in status LED. Glad you liked the idea!
Love it, want it, using it!
Capsomnia
@wesley_barnes1
Love to hear that! Thanks for using Capsomnia!