

Ajar
Ajar maps your MacBook's lid angle to display brightness, keyboard backlight, and system volume, and keeps the Mac awake while AI agents are running.
Cost / License
- Pay once
- Proprietary
Platforms
- Mac
Features
Ajar News & Activities
Recent activities
- laurenwong added Ajar
- POX updated Ajar
laurenwong added Ajar as alternative to Amphetamine, Caffeine for Mac, Lungo and Theine
Ajar information
What is Ajar?
Ajar maps your MacBook's lid angle to display brightness, keyboard backlight, and system volume, and keeps the Mac awake while AI agents are running.
Brightness, keyboard, volume. One curve maps the lid from closed to fully open. Drag a single point to shape it. Display brightness rides the curve by default. Turn on keyboard backlight and system volume to follow along. The lid sets the fraction. Your preference sets the ceiling. Touch brightness, keyboard, or volume manually, and Ajar reads it as your preference at that angle, then keeps following the lid from there.
Awake while the agent works. macOS sleeps for about five minutes after the keyboard goes quiet. AI agents in the terminal think between keystrokes, run tools, write files, then come back. The system reads all of that as idle. Claude Code, Codex, Gemini CLI: Ajar watches the session files they write and holds the Mac awake until the files stop moving. Then it steps back.
Write your own rules, too. Six conditions, combined any way you like. From the menu bar, keep the Mac awake for 30 minutes, an hour, two, or indefinitely.
- Lid Angle. Awake while the lid is past an angle you set.
- App. Awake while a specific app is open, or only when in the foreground.
- Process. Awake while a named background process is running.
- Wi-Fi. Awake while on a Wi-Fi network you trust.
- Disk. Awake while a specific disk is mounted.
- Power. Awake while the Mac is plugged in.
All on one screen. One screen for the lid sensor, the synced outputs, the awake state, and lifetime counts. Useful for checking a curve at a glance, or seeing how long Ajar has kept the Mac awake. Sensor lid angle. Sync anchor and outputs. Awake state. Usage: total run time, brightness applied, time kept awake.
Lives in the menu bar. Click the icon. Pause Ajar. Pick a keep-awake duration. Open Status for the live readout.
Made for Apple Silicon Macs running macOS 14 or later.






