Every module (except the module "session") supports the following overrides:
set -g @catppuccin_[module_name]_icon "icon"
set -g @catppuccin_[module_name]_color "color"
set -g @catppuccin_status_[module_name]_bg_color "color"
set -g @catppuccin_[module_name]_text "text"
set -g @catppuccin_[module_name]_[option] "null"
This is for the situation where you want to remove the icon from a module. Ex:
set -g @catppuccin_date_time_icon "null"
Make sure you load the catppuccin theme prior to setting the status-left and/or status-left options. This ensures the catppuccin options (such as colors and status modules) are defined so they can then be used.
After status-left and/or status-left have been set, make sure to run TPM to load the modules. This runs any plugins that may replace text in the status line.
# load catppuccin theme ...
run '~/.config/tmux/plugins/tmux/catppuccin.tmux' # or where this file is located on your machine
# ... and then set status-left & status-right ...
set -g status-left "#{E:@catppuccin_status_session}"
set -g status-right "#{E:@catppuccin_status_[module_name]}"
set -ag status-right "#{E:@catppuccin_status_[module_name]}"
set -agF status-right "#{E:@catppuccin_status_[module_name]}"
# ... and finally start TPM
run '~/.tmux/plugins/tpm/tpm'
set -g @plugin 'catppuccin/tmux#v1.0.1' # See https://github.com/catppuccin/tmux/tags for additional tags
set -g @plugin 'tmux-plugins/tpm'
This module depends on tmux-battery.
The preferred way to install tmux-battery is using TPM.
Load tmux-battery after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'tmux-plugins/tmux-battery'
Add the battery module to the status modules list.
set -ag status-right "... #{E:@catppuccin_status_battery} ..."
This module depends on tmux-cpu.
The preferred way to install tmux-cpu is using TPM.
Load tmux-cpu after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'tmux-plugins/tmux-cpu'
Add the cpu module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_cpu} ..."
This module depends on tmux-weather.
The preferred way to install tmux-weather is using TPM.
Load tmux-weather after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'xamut/tmux-weather'
Add the weather module to the status modules list:
set -agF status-right "... #{E:@catppuccin_status_weather} ..."
This module depends on tmux-clima.
The preferred way to install tmux-clima is using TPM.
Load tmux-clima after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'vascomfnunes/tmux-clima'
Add the weather module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_clima} ..."
This module depends on tmux-loadavg.
The preferred way to install tmux-loadavg is using TPM.
Load tmux-loadavg after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'jamesoff/tmux-loadavg'
Add the load module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_load} ..."
This module depends on gitmux.
To install gitmux, follow the instructions in the gitmux documentation.
Add the gitmux module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_gitmux} ..."
To customize the gitmux module, you can follow the instrucctions in the gitmux documentation and add this line in your tmux configuration:
set -g @catppuccin_gitmux_text "#(gitmux -cfg $HOME/.gitmux.conf \"#{pane_current_path}\")"
This module depends on tmux-pomodoro-plus.
The preferred way to install tmux-pomodoro-plus is using TPM.
Load tmux-pomodoro-plus after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'olimorris/tmux-pomodoro-plus'
Add the pomodoro module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_pomodoro_plus} ..."
This module depends on kube-tmux.
The preferred way to install kube-tmux is using TPM.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'jonmosco/kube-tmux'
Add the tmux module to the status modules list.
set -agF status-right "... #{E:@catppuccin_status_kube} ..."
Optionally override the kube-tmux colors
set -g @catppuccin_kube_context_color "#{@thm_red}"
set -g @catppuccin_kube_namespace_color "#{@thm_sky}"
It is possible to use the options set by the plugin to create your own modules.
For further details, see the documentation in custom/README.md