Automatic dark mode, switches iTerm2's colours according to your operating system's appearance.
- Select the
Enable Python API
in iTerm2 preferences - Install the Python Runtime from the Scripts menu...
- Copy the script to the Scripts folder
~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch
- Create the
AutoLaunch
folder if it does not exist - Go to the auto launch scripts menu and run
autodark