/Nightfall

A menu bar utility for toggling dark mode in macOS, written in Swift.

Primary LanguageSwiftMIT LicenseMIT

Nightfall

Nightfall lets you manage macOS's dark mode from the menu bar. Left click the icon to toggle dark mode; right click to reveal additional options.

Nightfall.mp4

Installation

Nightfall requires macOS Catalina or later

Note: These builds are not signed with a developer ID; you will need to bypass Gatekeeper to run Nightfall. See Apple Support: Open a Mac app from an unidentified developer for instructions.

Direct Download

Nightfall can be downloaded directly from the releases page.

Homebrew

Nightfall is available on Homebrew Cask.

brew install --cask nightfall

Usage

Left click Nightfall’s icon in the menu bar to toggle dark mode.
Right click the icon to show the options menu.

Setting a Keyboard Shortcut

You can toggle dark mode with a global keyboard shortcut through a service. This shortcut can be configured in System Preferences: in Keyboard preferences, look for “Toggle Dark Mode” under Shortcuts → Services → General.

Using Animated Transitions

If “Animated transition“ is enabled in preferences, Nightfall will smooth over the transition between light and dark modes with a short animation. Because of how this feature works (source code here), you’ll need to grant Nightfall screen recording permissions.

Hiding Nightfall

If you’d like to hide Nightfall from your menu bar without quitting the app, you can do so by holding the Command key and dragging the icon out of the menu bar. To reveal Nightfall again, re-open the app while it’s still running.

Updating Nightfall

If “Check for new versions” is enabled in preferences, Nightfall will look for updates a few times per day. When an update is available, you’ll see “Update…” in the options menu. Nightfall won’t update itself— you’ll need to download the new version manually.