| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Automatically disable Night Shift for specific apps on macOS
adamdexter.net • Buy Me a Coffee
Night Shift is great for reducing eye strain, but it wreaks havoc on color-critical work. If you use Photoshop, Lightroom, Premiere Pro, DaVinci Resolve, or any other app that depends on accurate color, you've probably been manually toggling Night Shift on and off dozens of times a day.
ShiftChange fixes this. It lives in your menu bar, monitors which app is in focus, and instantly disables Night Shift when you switch to an app on your exclude list. When you switch away, Night Shift comes right back. No manual toggling, no forgetting, no more editing photos under an orange tint.
That's it. Set it and forget it.
Menu bar — see Night Shift status and active app at a glance
Build your exclude list — search and add apps with one click
Search by app name or bundle ID to quickly find what you need
Add custom application folders — useful for apps on external drives
Install the latest release with a single command:
curl -fsSL https://raw.githubusercontent.com/adamdexter/shiftchange/main/scripts/install.sh | shThis downloads the latest DMG from GitHub Releases, mounts it, and copies ShiftChange to /Applications. If you need elevated permissions (e.g., a managed Mac), prefix with sudo:
curl -fsSL https://raw.githubusercontent.com/adamdexter/shiftchange/main/scripts/install.sh | sudo shInstall via Homebrew with a single command:
brew tap adamdexter/shiftchange
brew install --cask shiftchangeTo update to the latest version:
brew upgrade --cask shiftchangeTo uninstall:
brew uninstall --cask shiftchangeRequires macOS 13+ and Swift 5.9+.
git clone https://github.com/adamdexter/shiftchange.git
cd shiftchange/ShiftChange
swift build -c releaseThe binary will be at .build/release/ShiftChange and can be run directly.
To run the test suite (also runs automatically in CI on every push and pull request):
swift testTo build a distributable .dmg:
./scripts/create-dmg.shThe version is read automatically from ShiftChange/Sources/ShiftChange/Resources/VERSION.
Anyone who uses Night Shift and works with color-sensitive applications:
ShiftChange uses Apple's private CoreBrightness framework (CBBlueLightClient) to control Night Shift programmatically. It monitors NSWorkspace.didActivateApplicationNotification to detect app focus changes, and subscribes to Night Shift status notifications so schedule triggers and System Settings changes are handled even while a color-critical app is in focus.
On macOS versions where the "Auto" appearance setting is coupled to Night Shift (e.g. Sonoma), ShiftChange also guards your Light/Dark theme so its Night Shift toggles never flip it.
The app runs as a menu bar accessory (LSUIElement) with no Dock icon during normal operation. The settings window activates the Dock icon temporarily for a natural macOS experience.
See the Releases page for the full changelog.
Made out of necessity and with love by Adam Dexter and Claude Code.
If ShiftChange has been useful to you, consider buying me a coffee!
| Back | FazBrowse Home | New Git URL |