What’s new
Every version, newest first.
Upgrade with brew upgrade: it quits Curtain, swaps it and opens it again. The code behind each version is on GitHub.
Nov 2520260.5.1Latest1 change
Disconnect and Reconnect keep the menu under Curtain's icon.
Disconnect used to put a menu opened near the right of a wide monitor at the far right of the MacBook, away from the icon, and Reconnect could leave it in the middle of the monitor. Menu bar icons sit the same distance from the right edge on every screen, so the menu now keeps that distance instead of its place as a fraction across the screen: under the icon on the MacBook, under it again on the monitor. And it is placed again once macOS has finished laying the screens out (a returning monitor first comes back at a temporary place, then every screen moves), with the pointer keeping its spot on the menu. Tested in
make testwith the owner's desk; checked on the desk (#25).
Nov 2520260.5.06 changes
The rest of step 3, a menu you understand by looking (#20).
Disconnect is its own button.
Monitor rows now show Disconnect beside Turn off, where before it hid behind a right-click on Turn off (as "Unplug"). It does what Unplug did: macOS treats the monitor as unplugged and moves its windows to your other screen. A disconnected row says so and offers Reconnect. The MacBook never gets Disconnect, not even greyed out: macOS would switch off its keyboard and trackpad. The right-click menu is gone (#25).
Disconnect keeps your place.
If the menu is open on the screen you disconnect, it moves to the same spot across the screen that's left (left stays left, right stays right), and the pointer stays on the same spot on the menu instead of jumping to the far edge. Reconnect brings both back to where they were, and the menu stays open through the change (#25).
A blink instead of a blackout.
Disconnect, Reconnect and turning everything back on fade every screen out for 0.15 s and straight back in for 0.15 s, where they used to fade out for 0.3 s, hold black for 1.2 s and take 0.5 s to come back. The owner tried all three on the real desk and picked this one (#22).
Hover shows what a button will do, on the map only.
With the pointer on Turn off, that screen's drapes half-close on its tile; on Turn on they half-open; on Disconnect the tile half-fades to its outline, and on Reconnect it half-comes back. Along a brightness bar the tile's glow follows the pointer, and on Quit every screen that's off comes halfway back. Halfway, so it never looks like the real thing, and never on a real screen. One line under the map says the result, for example Quit: "Quits Curtain; every screen comes back on." It replaces the tooltips, which took a second to appear; VoiceOver hears the same line as each control's hint. A disabled button (the only screen on) says why and previews nothing. With one screen the line sits above its row. Previews take 0.2 s, a fade with Reduce Motion; the lines live in
Sources/Wording.swiftand what each tile shows inSources/TilePreview.swift, both tested inmake test, andmake rendersdraws every preview (preview-*.png). Moving off a button, the half-drawn drapes open in the same 0.2 s; before the desk test they waited 0.7 s and then vanished at once (#26).Turn back on, right where you are.
After Turn off (the button or ⌃⌥C), a small banner floats near the bottom of the screen you're on for about 6 s, even if the menu closes: "L27h-4A is off · Turn back on · ⌃⌥C" ("2 screens are off" when ⌃⌥C turned off several). Turn back on brings them back; ⌃⌥C still does too. It stays while the pointer is on it, so it never fades out under your click, and goes at once if you turn the screen back on some other way. It fades in rising a touch in 0.2 s (a plain fade with Reduce Motion), never takes focus from the app you're in, and VoiceOver announces it. Esc or its × closes it (Esc in other apps needs the Accessibility permission the brightness keys use), and you can drag it anywhere; it stays where you drop it until it goes. Where it goes and when it goes are tested in
make test(Sources/TurnBackOn.swift);make rendersdraws it light and dark (banner*.png) (#27).- Which row gets which button is tested in
make test, with each button's line inSources/Wording.swift;make rendersdraws the rows with Disconnect and the disconnected row with Reconnect.
Nov 2220260.4.21 fix
Fix: installing failed on some Macs with "Curtain Local Signing: no identity found".
On macOS 26,
codesignonly finds Curtain's signing certificate when its keychain is on your keychain search list, and Curtain never put it there, sobrew installandmake appstopped at signing.Tools/signing-identity.shnow adds it (keeping your other keychains), so it shows in Keychain Access as curtain-signing. The certificate and the Accessibility permission are unchanged (#37).
Nov 2220260.4.11 change
Spotlight shows one Curtain.
make appnow builds intobuild/app.noindex/, a folder Spotlight skips, so a Mac that builds Curtain from source (or runsmake runto test) no longer lists a second Curtain.app next to the one in /Applications. The Homebrew cask points at the new path from 0.4.1.
Nov 2220260.4.03 changes
The first part of step 3, a menu you understand by looking (#20).
A map of your desk above the rows.
With two screens or more, the menu opens on a small drawing of them, placed and sized as macOS arranges them (System Settings → Displays), the whole desk fitted into 340 × 90 points: each monitor drawn with its dark bezel and stand, the MacBook on its keyboard deck, its name underneath (
Sources/DeskMap.swift). Each screen's wallpaper is as bright as the screen and glows on the cloth; drapes close over a screen that's off; an unplugged screen leaves only a dashed outline, in the place it had. Hovering a tile lights up its row and the other way round; clicking a tile does nothing. With one screen there's no map. VoiceOver reads the map as one line, left to right: "L27h-4A on, MacBook off". The owner picked the look from four mock-ups on #23 (bezelled monitors, drapes from both sides) (#24).The same drapes on the rows.
A row that's off used to get one curtain drawn from the left; now two drapes close from both sides and meet in the middle, as on the map. They take 720 ms with a gentle start and a soft landing: slower than everything else in the menu (under 250 ms), by the owner's choice. With Reduce Motion they fade instead.
- Where each tile goes is plain geometry from the screens' bounds (
Sources/DeskLayout.swift), tested inmake test: the owner's desk, a monitor left of and above the main screen, three monitors too wide for the panel, two stacked screens, and an unplugged screen keeping its side when macOS moves the others.make rendersdraws the map both on, one off, one unplugged, one lit, with Increase Contrast, and the one-screen menu without it, plus the VoiceOver line.
Nov 2220260.3.14 changes
The menu fits one screen after a monitor goes, even while it was closed.
On 0.3.0, unplug the Lenovo with the menu closed and the next open kept the two-screen height, with bare glass above and below and the rows floating in the middle. The menu's SwiftUI controller was let go once the panel was built; its view still grew with the menu but never shrank. The panel now keeps it (
Sources/MenuPanel.swift, moved out ofmain.swift) and fits itself again on every open.make testbuilds the real panel from made-up screens, 10,000 points off every screen, and checks its height against the menu's: two screens, one unplugged while open and while closed, plugged back in, a notice coming and going (#21).make rendersdraws the one-screen menu (one-screen-light.png,one-screen-dark.png).Curtain never leaves every screen black.
On the 0.3.1 branch: Turn off the MacBook, then unplug the Lenovo's cable, and the MacBook stayed black with nothing to click (only ⌃⌥C brought it back). Turn off and Unplug refused to darken the last screen, but a screen leaving on its own was never checked. Now, after every screen change (cable out, lid closed, wake, unlock), if every screen left is turned off or unplugged, all of them come back on, backlights and colours included (
Sources/NeverDark.swift).make testreplays the owner's case on made-up screens, plus an unplugged and a turned-off screen together, and the lid closing on a turned-off monitor (#29). It comes back at once: Curtain checks the moment macOS says a screen went, instead of after its usual 0.4 s wait, and skips the fade-in.The pointer follows the menu off a turned-off Lenovo.
Turning off the screen the menu is on moves the menu to a screen that's on, and the pointer, now invisible on the black screen, jumps to it. That worked from the MacBook but not from the Lenovo: a software-dimmed monitor's row loses its "Dimmed by Curtain until it quits" line when it turns off, the menu shrinks, and that resize moved the menu before Curtain heard the screens change, so the pointer check never ran. The move is now handled wherever it happens; when the pointer follows is tested (#29).
Allow Accessibility opens one window per click.
It used to show macOS's own dialog and open System Settings at the same moment, then only Settings on the next try. Now the first click shows macOS's dialog (which lists Curtain and has its own button to Settings), and later clicks open System Settings at Accessibility (
Sources/PermissionAsk.swift, tested) (#29).
Nov 2220260.3.06 changes
Curtain's own identity, Linen & Dusk, finished: frosted linen with dusk blue by day, twilight with afterglow at night. The menu's new look (linen panel with a fine weave, raised rows, a sheer brightness bar whose knob carries the sun, Turn off / Turn on pills, outlined switches, keycaps, a pleated curtain across a row that's off) already went out in 0.2.2 without a line here (#4); this release adds Curtain's own type, pointer feedback, and makes it read well to VoiceOver and with Increase Contrast.
The shortcut is now ⌃⌥C
(Control+Option+C): three keys instead of four, Control and Option side by side under one hand, and almost no app uses it. ⌃⌥⌘C no longer does anything.
VoiceOver says what the menu shows
: each brightness slider names its screen ("L27h-4A brightness, 45 percent") instead of two sliders both saying "Brightness", the shortcut reads "Control Option C turns other screens off / on" instead of three symbols, the screen icons and the header's curtain stay quiet (the names beside them say it), and the menu bar icon says whether a screen is off ("Curtain, 1 of 2 screens off"), as its closed curtain shows.
make renderswrites what VoiceOver reaches in each state tobuild/renders/*-voiceover.txtand fails if a button, switch or slider loses its name.Increase Contrast
:
make rendersalso draws the menu with its contrast colours (contrast-on,contrast-off, light and dark): darker text, solid edges and outlines, a near-solid panel.The menu fits its content and fades out
: it shrinks when a monitor's row goes, and closing rises and fades in 150 ms (#4).
Every control answers the pointer
: the pointing hand over Turn off / Turn on, the slider, the switches, Quit and the Accessibility link (the arrow stays over text and over a Turn off you can't use). Under the pointer, Turn off turns dusk blue (afterglow at night), Turn on glows brighter, the slider's track deepens and its knob lifts, switches deepen, Quit sits on a faint pill (#10).
Curtain's own type
: Manrope for every label, button and caption, Newsreader Italic for the wordmark, bundled inside the app (both OFL, credited in NOTICE) so the menu looks the same on every Mac. Percentages use tabular digits, so they don't jitter while you drag. If a font can't load, that text falls back to the system font and Curtain logs it once. The app grows by about 0.7 MB (#5).
Nov 2220260.2.27 changes3 fixes
Install with Homebrew
:
brew install saaquiblabs/tap/curtain. It builds Curtain on your Mac, signs it with your Mac's own Curtain certificate and puts it in /Applications, where Spotlight finds it.brew upgradequits Curtain, swaps it and reopens it, and the Accessibility permission stays;brew uninstallquits it first, so every screen comes back on.Curtain has its own icon
in Finder, Spotlight, System Settings (Accessibility, Login Items): the menu's curtain, linen drapes tied back on a dusk-blue tile, drawn by
Tools/app-icon(make icon). If an old blank icon lingers, runkillall Dockor remove and re-add Curtain in Accessibility once.A monitor Curtain dims in software says so while it's dimmed
: "Dimmed by Curtain until it quits" (its tooltip: back to full brightness on quit), so a brighter screen after quitting is no surprise. It shows only below 100%, and the row keeps its height at 100%; screens whose own brightness changes (MacBook, DDC monitors) keep it after quit and never show it. Replaces the "dimmed in software" caption, which showed even at 100%.
Fix: the brightness keys stopped reaching Curtain after every rebuild
, so F1/F2 changed the MacBook even with the pointer on a monitor, and Apple's indicator showed the MacBook's brightness instead of the monitor's. macOS tied the Accessibility permission to each build's exact hash: System Settings still showed it on, but macOS no longer trusted the new build. Curtain is now signed with a certificate made on your Mac, so the permission sticks. After updating, remove Curtain from Accessibility once and add it again.
The MacBook's row always shows its real brightness
, however it was changed: F1/F2, Control Centre, auto-brightness or Curtain. It used to keep the value it read at launch. Follow the Mac now reacts to the MacBook's changes as they happen instead of checking every second.
- If Accessibility is already on in System Settings but Curtain still can't get the keys, the menu says it's a permission for an older Curtain and how to renew it.
Fix: turning off the screen the menu was open on hid the menu behind the black.
The menu now moves, still open, to a screen that's on, where that screen's row reads Off with Turn on right there, and the pointer jumps to the menu. It never opens onto a screen that's off either.
Turn off is greyed out on the only screen that's on
, with a hint saying why, instead of explaining after the click.
Fix: clicking Curtain's icon while the menu was open closed it and popped it straight back up
(with a menu bar manager such as Ice or Bartender). The icon now opens and closes the menu reliably.
The menu closes when you move on
, like a macOS menu: a click elsewhere, switching app (Cmd-Tab) or Space, or focus going to another window. Just moving the pointer away keeps it open, so you can reach for a slider.
Nov 2120260.2.11 change3 fixes
Fix: unplugging the MacBook screen switched off its keyboard and trackpad.
macOS treats an unplugged built-in screen like a closed lid. The MacBook screen now only offers Turn off.
Fix: Unplug saved itself into macOS's display settings.
It now lasts for the session only, so it can't change your scaling or colour settings later. (Tested: modes and colour profiles identical before and after an unplug.)
- Unplug moved off the screen row: it blanks every screen for a few seconds, so it now lives behind a right-click on Turn off (monitors only), with that warning on the menu item.
Fix: the menu could open cut off above the top of the screen
when a menu bar manager (Ice, Bartender) had moved Curtain's icon. The menu is now Curtain's own panel: it opens under where you clicked, always fully on screen, with rounded glass corners. Esc or a click outside closes it.
Nov 2120260.2.07 changes
Switching a screen off no longer blanks every screen. Two ways to switch off, both written on the buttons:
Turn off
(new, the default): the screen fades to black in about half a second. No rearranging, so your other screen doesn't blink. A black cover stops clicks reaching the hidden windows, and the backlight goes down on the MacBook (and on monitors that take DDC). Windows stay where they are. Turn on fades it back with the exact colours and brightness it had.
Unplug
(what 0.1 did): windows move to your other screen and the monitor sleeps. macOS still blanks every screen for a moment while it rearranges them, but Curtain now fades all screens out first and back in after, so it reads as a deliberate fade, not a glitch.
- The menu says what each click does: Turn off, Unplug and Turn on buttons instead of a curtain icon, a hint on hover, and the off screen's row says where its windows are.
- ⌃⌥⌘C now uses Turn off, so it's instant too.
- Every launch starts with all screens on. 0.1 unplugged screens again at launch if it had been stopped without cleaning up, which was a surprise. Being stopped by
killorbrew services stopnow also puts every screen back on. - Brightness changes (keys, Follow the Mac) leave a turned-off screen dark.
- "MacBook screen" is now just "MacBook"; the menu is a little wider so names fit.
Nov 2120260.1.012 changes
The first working version: a menu bar app with the five features, built and tested on one MacBook (M2, macOS 27.2) with one external monitor (Lenovo L27h-4A).
Known issues in 0.1
Brightness for every screen.
The MacBook screen through macOS; monitors over DDC; and monitors that ignore DDC are dimmed in software. Curtain spots the last case by itself: it reads back the first change, and if the monitor didn't take it, it switches to software and says so in the menu.
Draw the curtain.
Switch any screen off; macOS treats it as unplugged. Curtain never switches off your last screen, draws the curtain again when macOS turns the screen back on after wake or unlock, opens every curtain if nothing else is left on, and remembers curtains across restarts. Quit puts every screen back on.
Brightness keys
change the screen under the pointer, with the native brightness indicator.
Follow the Mac
: monitors follow the MacBook's brightness.
⌃⌥⌘C
draws the curtain on every screen except the one you're on, or opens them all.
- Software dimming scales each monitor's own calibrated colour curve, so colours stay true. (A pre-release build replaced the curve instead, which turned colours colder and bluish.)
- Built with plain
swiftcand a Makefile, no Xcode. DDC, the brightness indicator and the private function declarations are ported from MonitorControl (MIT, see NOTICE). - Drawing a curtain blanks every screen for 2–3 seconds while macOS rearranges displays. (0.2: Turn off avoids it; Unplug fades through it.)
- The menu doesn't yet show what a click will do before you click it. (0.2: labelled buttons.)
- The look is a first draft and borrows Lost Buttons' colours; Curtain needs its own identity.
- No app icon. Brightness keys, Follow the Mac and Open at login are untested in the real app.
- Hardware brightness over DDC needs Apple silicon; Intel Macs get software dimming.