Skip to content

Releases: demiaochen/caffeinate-disablesleep

Release list

v1.1.0

Choose a tag to compare

@demiaochen demiaochen released this 10 Oct 04:59
5fd3dcc
  • With the lid lock on and no session, the badge now reads NO SLEEP instead of IDLE. The panel moon and badge carry the lid underline, matching the menu bar icon.
  • Fixes a rare crash at launch.

Install: download the DMG below and drag into Applications, or brew install --cask demiaochen/tap/caffeinate-disablesleep.

v1.0.0

Choose a tag to compare

@demiaochen demiaochen released this 24 Jul 10:11

The two commands you keep typing, now a menu bar app.

  • caffeinate -disu in one click, with duration presets (15m to 8h, or forever)
  • sudo pmset -a disablesleep 1 as a toggle: your Mac keeps running with the lid closed
  • your password once, ever: the first lid toggle installs a scoped, visudo-validated NOPASSWD rule; everything after is silent
  • live command readout mirrors the real system state, even for changes made in a terminal
  • right-click the menu bar icon to toggle without opening the panel
  • status glyph tells the whole story: strike = awake, fill = screen held, dot = timed, underline = lid locked
  • no animation, zero idle CPU, about 1 MB, native Swift

Free, open source, signed & notarized. macOS 14+.

Install: download the DMG below and drag into Applications, or brew install --cask demiaochen/tap/caffeinate-disablesleep.