Automatically switch your tmux theme between dark and light mode on macOS. Bundles color themes and exposes variables for status bar customization.
- tmux 3.5+ (for
client-dark-theme/client-light-themehooks)
Add this plugin to your ~/.tmux.conf:
set -g @plugin 'tmux-contrib/tmux-theme'And install it by running <prefix> + I.
The plugin includes 7 theme variants across 2 theme families:
catppuccin-mocha- Dark theme with warm tonescatppuccin-frappe- Dark theme with cool tonescatppuccin-macchiato- Dark theme, balancedcatppuccin-latte- Light theme
rose-pine- Dark main variantrose-pine-moon- Darker variant with muted colorsrose-pine-dawn- Light theme
Set the desired themes in your ~/.tmux.conf:
# Select a dark theme (default: catppuccin-mocha)
set -g @theme-dark "rose-pine-moon"
# Select a light theme (default: catppuccin-latte)
set -g @theme-light "rose-pine-dawn"
# Optional: Path to your status bar config (sourced after theme colors are loaded)
# Note: Use $HOME instead of ~ for path expansion
set -g @theme-path "$HOME/.config/tmux/status.tmux"Install dependencies using Nix:
nix developOr install manually: bash, tmux, bats
bats tests/Enable trace output with the DEBUG environment variable:
DEBUG=1 tmux source-file /path/to/tmux-theme/main.tmuxMIT