Repository navigation
Clamshell 0.1.0
Pre-release
Pre-release
First pre-release.
Superseded by 0.1.1.
This build has a bug: the menu bar app prevents system sleep for as long as it
runs, because it opted out of App Nap with an option that also disables idle
sleep. Upgrade to 0.1.1.
macOS sleeps as soon as the lid closes unless sleep is disabled, and on Apple Silicon neither caffeinate nor ordinary keep-awake apps can override that. Clamshell wraps the only working switch, pmset disablesleep, in a root-owned helper with a narrow NOPASSWD sudoers rule.
clamshell on/off/status/battery--for SPANrestores sleep after a duration--battery PERCENTrestores sleep at a battery floor, applied only while unplugged--darkenblanks the display immediately- Menu bar app with a live countdown, battery floor selection, display toggle and surfaced CLI errors
See CHANGELOG.md for details.