Keep your Mac awake from Control Center. Add the Always On control, tap it, and your Mac won't sleep or dim the display; tap it again and everything returns to normal.
Always On is a single Control Center control backed by a tiny background helper. There's no window, no menu-bar app, and no Dock icon — just the toggle.
macOS 26 (Tahoe) or later, and Xcode to build.
git clone https://github.com/benbeaudry/Always-On.git
cd Always-On
./install.shinstall.sh builds Always On, copies it to /Applications, and starts the
background helper. On first launch it registers itself as a login item, so it's
always ready after you log in.
Prefer Xcode? Open AlwaysOn.xcodeproj and press Run.
- Open Control Center, then click Edit Controls (or Add a Control).
- Find Always On in the gallery and add it. From here you can also drag it into the menu bar if you'd like it there.
- Tap the control to keep your Mac awake — the cup fills in while it's on, and your choice is remembered across relaunches and reboots.
Under the hood the helper runs caffeinate -d -i, which blocks display sleep and
idle system sleep, and stops it the moment you switch off.
osascript -e 'quit app "Always On"'
rm -rf "/Applications/Always On.app"Then remove it under System Settings → General → Login Items.
MIT — see LICENSE.