Native Swift / SwiftUI menu bar app for macOS that keeps your Mac awake during long tasks — while still letting the display turn off to save power.
This release renames the project from ScreenControl to KeepAgentAwake and bumps to v2.2.
Install
- Recommended: download
KeepAgentAwake.dmg, open it, and drag KeepAgentAwake.app into Applications. - Or grab
KeepAgentAwake.app.zipif you prefer a plain archive.
The app is unsigned — on first launch, right-click the app and choose Open, or allow it under System Settings → Privacy & Security.
Highlights
- Never sleep — IOKit power assertions +
caffeinateblock idle system sleep (toggle with ⌘⇧P). - Idle display off — turn the screen off after N seconds of no input while the system keeps running.
- Keyboard backlight dimming when idle triggers display sleep.
- Lid-close option via
pmset -a disablesleep(admin password requested only when the state must change). - Migrates settings from older ScreenControl builds automatically.
Requires macOS 13 or later.
防止 Mac 在长任务期间自动睡眠,同时允许屏幕熄灭省电的原生菜单栏工具。本次发布将项目从 ScreenControl 更名为 KeepAgentAwake,并升级到 v2.2。推荐下载 KeepAgentAwake.dmg 拖入「应用程序」即可使用;应用未签名,首次启动请右键选择「打开」。需要 macOS 13 或更高版本。