Synchronized dark theme for macos
Update: MacOS Catalina adds this feature natively now.
- Download repo:
git clone https://github.com/nbabra/DarkSync Dark-Sync
- Go into local folder:
cd Dark-Sync
- Run:
open -a DarkSync
Allow location services for getting sunset and sunrise times in current location. Run the application bundle called DarkSync, not the script file.
In System Preferences, click on Users and Groups, then Login Items, and add Dark Sync as a login item for constant monitoring.
Also in System Preferences, click on Security and Privacy, then Accesibility, and add Dark Sync to control the System Events. This can prevent errors from System Events in the future.
- LocateMe can prevent the script from working properly due to wifi issues and geolocation, resetting wifi will fix it
- Sometimes the app will not quit, but going to Activity Monitor and forcing quitting works for now
- Since time is on GMT, there are some issues with it changing immediately during sunset on EST.
Navneeth Babra