nightlight
p/nightlight-2
A CLI for "Night Shift" on macOS πŸŒ•πŸŒ–πŸŒ—πŸŒ˜πŸŒ‘
Nathan Griffith
nightlight β€” A CLI for "Night Shift" on macOS πŸŒ•πŸŒ–πŸŒ—πŸŒ˜πŸŒ‘
Featured
2
β€’
Control macOS's "Night Shift" feature directly from the command line! You can turn it on and off, pick a color temperature, and even set a daily schedule. Protect your eyes and avoid circadian-rhythm-disrupting blue light all without leaving your terminal!
Replies
Nathan Griffith
After years of using f.lux, I recently switched to macOS's Night Shift. However, I was disappointed by the lack of quick configurability -- I often find myself switching color temperatures or outright disabling the feature depending on what I'm doing, and I got tired of clicking through multiple preferences screens. That's why I made 'nightlight' -- a CLI for controlling Night Shift from the terminal. Now I can, for example, quickly flip it off when previewing an app I'm building. I've also baked my default schedule and temperature settings into my dotfiles, allowing me to carry my Night Shift preferences wherever I go. Check out the GitHub repo and let me know how it goes!
David Gay
Very cool. As a dev, I appreciate the clear, clean README as well. ;)