NewsCrawler.org

nosleep: a Mac tool that controls sleep prevention, screen off, and lock in one place

nosleep: a Mac tool that controls sleep prevention, screen off, and lock in one place
Image: github.com

nosleep is a macOS tool the author built for long-running tasks, to keep the Mac from falling asleep while work continues. Codex has a setting that keeps the machine awake while a task runs, but not every AI tool has one, and although methods like caffeinate[1] exist, the author wanted the work to keep going with only the screen off or the Mac locked — the MacBook lid can stay closed while the task continues, and reopening it requires authentication. Previously this took a combination of keyboard shortcuts, a separate app and a lid-watching script, so everything was bundled into one tool.

Features include toggling sleep prevention, lowering the built-in display brightness to 0 (moving the mouse restores the original brightness), locking and then putting the display to sleep, choosing the action when the lid is closed, opening from the menu bar, running at login, and switching between Korean and English. Sleep prevention uses the pmset disablesleep[2] setting, and values changed by other tools are reflected in the app; there is no network communication or usage data collection, and the project is released under the MIT license.

Read the original github.comDiscussion on GeekNews

Sources

  • KRGeekNews KO

    Show GN: 맥의 잠자기 방지·화면 끄기·잠금을 한곳에서 제어하는 도구

    1 point0 comments

Published: First seen: Читать по-русски

Open as a page