ProjectsBacklit

Backlit Logo Light Control for MacBook PROLED

Backlit's Light window with Battery selected, battery-driven output at 82 percent, and the adjustable Dim to control in isolated preview.
Battery mode in v0.2.5. The drawing previews the effect; it isn’t a measurement of the physical logo.

A light on the back of a laptop is a small thing to build an app around. But it might as well do something useful: show the battery level, move with music, or tell me a coding agent needs attention without another notification on the screen.

Backlit is my take on that. It’s a native macOS menu-bar app for the illuminated logo on compatible MacBook PROLED hardware. It connects automatically and keeps the everyday controls one click away. No account or cloud service required.

View the project on GitHub

On new installations, Backlit shows its menu-bar icon and hides its Dock icon. Existing preferences are preserved. Change Hide Dock icon in Settings; hiding the menu-bar icon restores Dock access first. A shortcut you pinned to the Dock stays there.

What it does

  • Steady: choose a brightness and leave it there.
  • Breathe: a gradual fade in and out, with an adjustable 3–30 second pace.
  • Battery: pulses while actively charging, stays solid when plugged in but not charging, and follows the battery level when unplugged.
  • Music: the logo responds to bass in system playback, with automatic level adjustment and Smooth, Balanced, or Punchy response.
  • Agents: different patterns for working, waiting, and needing attention.
  • Trackpad: light up while your fingers rest on the trackpad, then go dark when you lift them.
  • Typing: light up briefly while typing in any app, using key timing rather than reading or saving characters.

Trackpad works while other apps are in front, not just inside Backlit. It listens for contact and release rather than watching the cursor. Screen touch isn’t supported. The logo is white light only, so everything comes down to brightness and timing.

Music and typing

Selecting Music starts system audio after macOS permits it. Switching to another behavior stops capture. Adjust the response, beat intensity, and whether the light goes dark between beats. Audio is processed locally; nothing is recorded or uploaded.

Backlit v0.2.5 Music controls with automatic level, Balanced response, beat intensity, and the dark-between-beats switch in isolated preview.
Music controls in v0.2.5. This isolated preview uses a sample waveform.

Typing now has its own behavior. Choose Enable or retry typing access and follow the macOS Input Monitoring instructions. Secure Input can pause the response. With the lid closed, Typing needs an external keyboard and Trackpad needs a compatible external trackpad.

Backlit v0.2.5 standalone Typing behavior with Input Monitoring access guidance and no live keyboard capture in isolated preview.
Standalone Typing and its permission controls. Preview leaves input capture off.

Battery behavior

Battery is the default behavior. In v0.2.5, the controls live in Your light → Battery:

  • Choose Automatic pulse, Steady, or Match battery level while plugged in.
  • Adjust the pulse cycle and Dim to level, including fully dark between pulses.
  • Turn on an optional charge-ready signal, with a threshold, style, and duration.

Battery mode controls its own brightness. Unplugged, 50% charge means 50% light, all the way down to 0%. Switching to another mode brings back its saved brightness setting. The charge-ready signal is off by default, and Restore Battery Defaults returns to automatic pulsing with the signal off. Updating preserves existing choices.

A small status light

Optional Claude Code and Codex connections use hooks to pass session status to Backlit. They send a session identifier and status, not prompts, code, or tool output. Existing hooks are preserved. Codex hooks need to be reviewed and trusted in Codex.

New installations use Control–Command–B to toggle the logo and leave brightness-up/down shortcuts Off. Existing choices are preserved, and Reset adopts these defaults. Backlit also supports customizable keyboard shortcuts for adjusting logo brightness and an optional MCP connection, so compatible AI assistants can check its status and control the light. There’s an experimental option to use Shift with the Mac’s brightness keys, too.

Connections now separates on-demand MCP control from automatic Coding status hooks.

There’s a Home Assistant integration too, with brightness, effects, and status sensors over a local, authenticated connection. It’s off by default.

With the lid closed

Keep logo on with lid closed lets the logo remain lit for 1–30 minutes per cycle and may also keep the built-in display lit. Earlier versions were tested on my MacBook PROLED; the latest build’s sleep/wake and closed-lid handback still need physical qualification. Low battery, Low Power Mode, or heat still stop it, so keep the laptop on a hard, ventilated surface, never in a bag. Other hardware and macOS versions remain unverified.

Known transient light interruptions can now recover automatically after verified cleanup, with bounded retries that survive relaunch. Recovery preserves the original closed-lid deadline. Unknown faults or exhausted retries still stop safely; Restore Light remains available. Automatic fault recovery has isolated end-to-end test coverage, not deliberate live hardware-fault injection.

Updating

Download Latest Version in Settings opens the installer page. Quit Backlit normally before replacing it in Applications. macOS may ask you to re-enable Backlit under Input Monitoring after updating. Installation is still manual.

Under the hood

Native Swift and SwiftUI, with local audio processing and no microphone recording. Backlit saves the previous logo settings and restores them on a normal quit. Display brightness stays separate.

The Battery, Music and Typing screenshots above are historical native captures of Backlit v0.2.5 in isolated preview mode. They do not show the current Connections layout or Dock setting.