A lightweight macOS menu bar app that keeps your Mac awake. Similar to Amphetamine, but simpler.
- Menu bar app - Lives in your menu bar, no dock icon
- Global hotkey - Toggle with ⌘⇧A from anywhere
- Two modes:
- Prevent Display Sleep - keeps screen on
- Prevent System Sleep Only - screen can sleep, Mac stays awake
- Timed sessions - 15 min, 30 min, 1 hour, 2 hours, 4 hours, or indefinite
- Visual feedback - Icon changes: ☕ (active) / 😴 (inactive)
Requires Xcode.
git clone <repo-url>
cd Awake
xcodebuild -scheme Awake -configuration Release buildThen copy to Applications:
cp -r ~/Library/Developer/Xcode/DerivedData/Awake-*/Build/Products/Release/Awake.app /Applications/open ~/Library/Developer/Xcode/DerivedData/Awake-*/Build/Products/Release/Awake.appOr open Awake.xcodeproj in Xcode and press ⌘R.
- Launch the app - look for ☕ or 😴 in your menu bar
- Click the icon to access the menu
- Click Enable to keep your Mac awake
- Use ⌘⇧A to quickly toggle from any app
| Option | Description |
|---|---|
| Enable/Disable | Toggle sleep prevention |
| Mode | Choose what to keep awake |
| Duration | Set auto-disable timer |
| Quit Awake | Exit the app |
- macOS 13.0 or later
Awake uses macOS IOKit power assertions (IOPMAssertionCreateWithName) to prevent sleep. This is the same API used by system utilities and is fully supported by Apple.
MIT