Carlos Chacin
Software Engineering Experiences
π Auto-Switch iTerm2 Modes, Day & Night! ππ
27 May 2024iTerm2 recently introduced a great feature: separate light and dark mode colors. This feature enhances the visual appeal of your terminal and keeps it in sync with your Macβs mode.
This feature is not just about aesthetics; itβs about comfort. Imagine your terminal always matching your Macβs light or dark mode, creating a seamless and visually pleasing experience. This enhances the visual appeal and reduces eye strain, making your terminal usage more comfortable.
The Problem
In the image below, you can notice that the iTerm2 does not change by default when we switch between light and dark modes.
Ok, letβs discover this game-changer feature!
Step 1
Go to iTerm2 settings and click the Profiles
tab.
Step 2
Click the Colors
tab under Profiles.
Step 3
Enable the checkbox to Use different colors for light and dark mode.
Step 4
Select the desired dual theme. In this case, Iβm selecting Solarized,
which has light and dark versions.
Step 5
Click on Update Both Modes