☾ → ☕

SleepToggle

A macOS menu bar button that keeps your Mac awake — even with the lid closed.

Install

curl -fsSL https://sleep.138.dk/install.sh | bash

Paste into Terminal. Compiles the app on your Mac, asks for your password once, and puts a ☾ in your menu bar. Needs Apple's Command Line Tools — the script offers to install them if missing.

What it does

What the installer touches

Source: install.sh · SleepToggle.swift · uninstall.sh

Uninstall

curl -fsSL https://sleep.138.dk/uninstall.sh | bash

Removes all of the above and re-enables normal sleep.