# Dimmer for Raycast

URL: https://www.raycast.com/nachotafalla/dimmer

> Dim your Mac screen below its minimum brightness on every display, adjust the dim level and control it from the menu bar.

- Install: raycast://extensions/nachotafalla/dimmer
- Author: [Nacho Tafalla](https://www.raycast.com/nachotafalla)
- Installs: 61
- Platforms: macOS
- Categories: System
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/18750b5bc7fe87eb76991e86f0cda47200daa48f/extensions/dimmer/

## Commands

- **Toggle Dimmer**: Turn extra screen dimming on or off.
- **Dim More**: Increase extra screen dimming.
- **Dim Less**: Decrease extra screen dimming.
- **Set Dim Level**: Set an exact extra dim level.
- **Reset Dimmer**: Immediately remove all Dimmer overlays.
- **Dimmer Menu Bar**: Control Dimmer and see its current level from the menu bar.

## README

### Dimmer

![Dimmer — Dim beyond the minimum.](https://github.com/raycast/extensions/raw/18750b5bc7fe87eb76991e86f0cda47200daa48f/extensions/dimmer//media/social-preview.jpg)

Dim every Mac display beyond its minimum hardware brightness, directly from Raycast.

Dimmer adds a dark, click-through overlay to each connected display. It does not modify display firmware, gamma tables, or physical brightness. Everything runs locally and no usage data is collected.

#### Commands

- **Toggle Dimmer** turns the saved dim level on or off.
- **Dim More** and **Dim Less** adjust the overlay using the configured step.
- **Set Dim Level** selects an exact level from 10–90%.
- **Reset Dimmer** immediately removes every overlay.
- **Dimmer Menu Bar** adds a menu bar control and current-level indicator.

Assign Raycast hotkeys to Toggle Dimmer, Dim More, and Dim Less for the fastest workflow.
Adjustment commands show a 10-segment brightness-style HUD with the resulting level.

#### Menu Bar

Run **Dimmer Menu Bar** once to activate the indicator. Raycast restores activated menu bar commands after restarting.

#### Safety

The overlay is limited to 90%, ignores mouse input, and disappears if the helper stops. **Reset Dimmer** is always available as a failsafe.

#### How It Works

The Raycast commands write a small state file in the extension support directory. A Swift helper watches that file and manages one transparent AppKit window per display.

The helper source is available at [`swift/dimmer-helper/Sources/DimmerHelper.swift`](https://github.com/raycast/extensions/raw/18750b5bc7fe87eb76991e86f0cda47200daa48f/extensions/dimmer//swift/dimmer-helper/Sources/DimmerHelper.swift). Raycast's built-in Swift compiler builds and bundles it with the extension.

Dimmer supports macOS 13 and newer on both Apple Silicon and Intel Macs.

#### Development

```sh
npm install
npm run verify
npm run dev
```

Raycast and Node.js 22 or newer are required for local development.
