Capsomnia turns Caps Lock into keep-awake switch
Capsomnia transforms the Mac Caps Lock key into a physical toggle switch to keep MacBooks running when the lid is closed. Developed by Taketo Fujimaki, the free and open-source utility uses the Caps Lock LED as a status indicator to ensure uninterrupted background execution for AI coding agents and long-running tasks.
Transforming a rarely used physical key like Caps Lock into a dedicated hardware toggle for system sleep behavior is a stroke of developer UX genius, especially for AI-assisted workflows.
• Hardware-Level Visual Feedback: Utilizing the physical Caps Lock LED light gives immediate, unmistakable state feedback without relying on desktop UI or menu bar icons.
• Solves AI Agent Interruption: Directly addresses the modern friction point of background AI agents or long CLI jobs dying when closing a laptop lid.
• Zero-Trust Privacy Model: Completely open-source, fully signed and notarized, with no telemetry, data collection, or account creation required.
• Flexible Remapping: Allows remapping if Caps Lock is already assigned to hyperkeys or input methods.
DISCOVERED
3h ago
2026-07-25
PUBLISHED
9h ago
2026-07-25
RELEVANCE
AUTHOR
Taketo Fujimaki(藤巻雄飛)