Skip to content

SleepSwitch 1.4.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 21:27
· 2 commits to main since this release

What changed

  • Uninstall from the menu, behind a confirmation. Anyone who installed the .pkg had no
    way to remove the app cleanly — uninstall.sh lives in the repository, not on their disk.
    It clears the sleep ban first, while the sudo rule is still there to make that quiet, then
    removes the app, the rule, the receipt and the settings, and quits.
  • A warning the first time the mode is switched on without the sudo rule. The ban is a
    system setting: without the rule the app cannot clear it quietly at logout, and a modal
    password dialog there would block the shutdown — so it survived into the next boot, where
    the app might not even be running to show it. The warning offers to set the rule up on the
    spot, and is shown once rather than on every switch.

Menu bar toggle that stops your MacBook from sleeping — lid closed included.

Install

Download the .pkg and open it. The installer puts the app in Applications,
launches it, and optionally adds a sudo rule so toggling never asks for a
password.

The app is not signed with an Apple certificate. macOS blocks the first
open: right-click the file → OpenOpen again. One-time.

The .zip is the same app without the installer, if you prefer to place it by hand.

Usage

Left click the icon to toggle, right click for the menu. Moon — normal mode,
coffee cup — sleep blocked, triangle — partially on (the lid still sleeps).

macOS 13 or newer. Universal — Apple Silicon and Intel. English and Russian.


Установка

Скачайте .pkg и откройте его. Установщик положит приложение в «Программы»,
запустит его и (по желанию) добавит правило sudo, чтобы режим переключался
без ввода пароля.

Приложение не подписано сертификатом Apple. При первом запуске macOS
откажется открывать пакет. Правой кнопкой по файлу → «Открыть»
в диалоге ещё раз «Открыть». Один раз.

Файл .zip — то же приложение без установщика.

Управление

Левый клик по иконке — включить или выключить, правый — меню. Луна — обычный
режим, чашка — сон запрещён, треугольник — включён частично (крышка усыпит).

Требуется macOS 13 или новее. Universal — Apple Silicon и Intel. Русский и английский.