Skip to content

Instantly share code, notes, and snippets.

View oir's full-sized avatar

Ozan İrsoy oir

View GitHub Profile
@oir
oir / iterm2_switch_automatic.md
Created January 27, 2024 14:25 — forked from FradSer/iterm2_switch_automatic.md
Switch iTerm2 color preset automatic base on macOS dark mode.

The latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.

Vist iTerm2 homepage or use brew install iterm2-beta to download the beta. Thanks @stefanwascoding.


  1. Add switch_automatic.py to ~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch with: