Script to detect change of theme to or from dark mode in MacOS 🌚🌝
This is the basic installation which does not auto start on startup
- Download or clone the repository
- Open up the console in the downloaded folder
- Paste the following commands (it may prompt you to put your password)
chmod +x install.sh update.sh
./install.sh
- The system will ask you if the app can control "Finder", give it the
Ok
- Once the install finishes, the application will auto start 🥳
You can make the app automatically start on the background so that you don't have to worry with the following steps:
- Open System Preferences > Users & Groups > Startup 🛠
- Click the lock icon to unlock adding the application on startup
- Add the application that was automatically created in your desktop
The application comes with default photos that I have taken in my journeys
To add or remove your own pictures, simply do the following
- Create a folder with any name you want in the
wallpaper
folder - In the folder that you created add two
.jpg
(note the picture format) pictures,light.jpg
anddark.jpg
, each one corresponding to their respective theme 📷 - Run the following command in your terminal from the folder which contains the code
./update.sh
- That's it! You are ready to go!