Repository navigation
Releases
Releases · AaqifZ/trueshift
v0.1.0
First public release: your Mac's screen follows the real sun, from daylight white to deep firelight red.
What it does
- Sets your screen color from the real sunrise and sunset at your location.
- Goes down to about 1000K after dark, at full brightness. Night Shift stops at about 2700K.
- Holds a manual change until the next sunrise, then returns to the schedule.
- Optional PWM-safe mode holds the backlight at 100% and dims in software, on Apple displays.
Install
git clone https://github.com/AaqifZ/trueshift.git && cd trueshift
swift build -c release
sudo install -d /usr/local/bin && sudo install .build/release/trueshift /usr/local/bin/Then set your location and run trueshift install. See the README.
Known limits
- Uses private macOS APIs (CoreBrightness, backlight). A macOS update can break them.
- Deep red below 2700K needs the menu bar app running.
- PWM-safe works on Apple displays only.
- Your Mac's time zone must match your location.