Releases: gigaptera/modafinil
v1.2.1 — Lid-closed mode
Lid-closed (clamshell) mode
Modafinil can now keep a standalone MacBook awake with the lid closed.
Enable Keep awake with lid closed… from the right-click menu and approve the background item once in System Settings → General → Login Items. A root helper then toggles pmset disablesleep — the only mechanism that overrides clamshell sleep — and automatically clears it when prevention stops or the app quits/crashes. Replaces the previous best-effort caffeinate approach.
Requirements: macOS 14.0 Sonoma or later · Apple Silicon or Intel · Apple-notarized.
v1.2.0
What's new in v1.2.0
- Fixed Japanese localization: The menu now correctly shows Japanese when your system language is set to Japanese. (Previously it could stick to English in accessory apps due to
Locale.currentbehavior; now usesLocale.preferredLanguagesfor reliable detection.) - Bumped to 1.2.0 with the above critical fix for Japanese users.
This release includes all previous improvements from v1.1 (30 min timer, English base + Japanese fallback, standalone lid-closed support without sleep or lock, minimal menu).
Download the DMG from the assets below (or use the latest link).
For lid-closed standalone use: keep AC power connected and ensure good ventilation.
v1.1
What's new in v1.1
- 30-minute timer option added to auto-stop
- English localization – the UI now shows English by default. Japanese strings are used only when your system language is set to Japanese.
- Improved support for keeping the Mac awake with the lid closed on a standalone MacBook (no external display/keyboard):
- Prevents system sleep
- Prevents automatic screen lock (so you can open the lid and continue immediately)
- Menu simplified back to the original clean design
- Various polish and version bump
Note: For lid-closed use without external monitor, keep the Mac plugged in (AC power) and be aware of heat buildup. Not recommended for travel or enclosed spaces.
Modafinil 1.0
Initial release. Keep your Mac awake for AI agent workflows.