Wenlan
Wenlan is a source-backed AI knowledge base and LLM wiki for AI work: organize documents and decisions into pages you can find, inspect, and review.
翻訳待ち
リポジトリ情報はまだ収集していません。
No updates detected yet. GitHub releases will appear here.
Keep Your Mac Awayke With the Lid Closed
翻訳待ち
Loading the full README.
Read the full README ↗macOS puts your Mac to sleep when you close the lid. Awayke flips pmset disablesleep that stops it, and puts it behind a single menubar icon.
Left-click the laptop icon to toggle on/off.
Right-click for a bounded session:
Quitting Awayke always re-enables sleep.
Awayke.app.zip from the latest release.Awayke.app into /Applications.git clone https://github.com/daemonphantom/Awayke.git
cd Awayke
open Awayke.xcodeproj
Requires Xcode 16+ and macOS 13 Ventura or later.
Why isn't this on the App Store? App Store sandboxing blocks the system call Awayke depends on. Lunar, TextExpander, and BetterTouchTool ship outside the App Store for the same reason.
No more wedging an HDMI cable into the hinge.
Most keep-awake tools use caffeinate or IOKit power assertions. Those stop the display and idle sleep, but macOS handles lid-close sleep on a separate path that ignores them. The only reliable override is Apple's own pmset disablesleep.
pmset needs root, so Awayke installs a small privileged helper daemon via SMAppService on first run. The menubar app talks to the helper over XPC; the helper runs pmset -a disablesleep 1 or 0. You approve the helper once. After that, toggling is silent and survives reboots.
The command Awayke runs is Apple's own tooling, and short sessions carry little thermal risk. Two rules:
Use at your own risk.
pmset -a disablesleep is system-wide. While Awayke is active, nothing sleeps from a closed lid.disablesleep.sudo pmset -a disablesleep 0 in Terminal.Amphetamine is excellent and can do this too, three menus deep. Awayke exists for people who want exactly the one thing.
| Awayke | Amphetamine | caffeinate | |
|---|---|---|---|
| Prevents lid-close sleep | ✅ | ✅ (buried in menus) | ❌ |
| One-click toggle | ✅ | ❌ | ❌ |
| No sudo prompt | ✅ | ✅ | ❌ |
| Timed sessions | ✅ | ✅ | ✅ |
| Low-battery cutoff | ✅ | ✅ | ❌ |
| Does nothing else | ✅ | ❌ | – |
Closing the lid to sleep your Mac is one of the best things about macOS. Awayke doesn't change that. It's an occasional override.
Awayke collects nothing. No analytics, no crash reports, no network calls.
Bug reports and pull requests are welcome. Open an issue if something misbehaves on your machine, and include your macOS version.