Ajar: Mac Utility That Maps Lid Angle to Brightness, Volume, and Keyboard Backlight
By
Lauren
Good intentions, undercooked execution. The bake is missing.
Summary
Ajar is a Mac utility that turns the MacBook's lid angle into a functional input. It offers two main features: Lid Angle Sync, which adjusts screen brightness, keyboard backlight, and system volume based on the lid's position (configurable via a visual curve), and Keep Awake, which intelligently prevents sleep during active work sessions (including built-in support for Claude Code, Codex, and Gemini CLI). The tool supports multiple displays with per-display offsets and custom wake rules for apps, Wi-Fi, disks, and power.
Key quotes
· 3 pulledI built Ajar because the lid angle on a MacBook is the most overlooked input.
You already change it dozens of times a day, opening it, half-closing it for a quick break, propping it up to read in bed. macOS does nothing with that signal. So I wired it up.
Ajar makes your Mac respond to what you're doing, not what you remember to press.
You might also wanna read
LidAngleSensor: MacBook Lid Angle Detection Utility
This is a GitHub repository for a utility called 'LidAngleSensor' that reads the lid angle sensor data from newer MacBook Pro models (2019 1
MacBook App Converts Lid Movements into Real-Time Synthesized Sounds
A software application called 'Crack' that transforms MacBook lid movements into synthesized sounds in real-time. The app reads the built-in
mac-angle: Open-source C++ library for reading MacBook lid angle sensor data
A C++ library called 'mac-angle' that provides direct access to MacBook lid angle sensor data through reverse engineering of HID device spec
