Skip to content
/ tmux Public
forked from catppuccin/tmux

My fork for custom tmux catppuccin theme

License

Notifications You must be signed in to change notification settings

Castrozan/tmux

 
 

Repository files navigation

Logo
Catppuccin for Tmux

Themes

🌻 Latte

Latte Flavor Preview

🪴 Frappé

Frappe Flavor Preview

🌺 Macchiato

Macchiato Flavor Preview

🌿 Mocha

Mocha Flavor Preview

Installation

In order to have the icons displayed correctly please use/update your favorite nerd font. If you do not have a patched font installed, you can override or remove any icon. Check the documentation on the options available.

Manual (Recommended)

This method is recommended as TPM has some issues with name conflicts.

  1. Clone this repository to your desired location (e.g. ~/.config/tmux/plugins/catppuccin).

    mkdir -p ~/.config/tmux/plugins/catppuccin
    git clone -b v2.0.0 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux
  2. Add the following line to your tmux.conf file: run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux.

  3. Reload Tmux by either restarting or reloading with tmux source ~/.tmux.conf.

Check out what to do next in the "Getting Started Guide".

TPM

  1. Install TPM

  2. Add the Catppuccin plugin:

    set -g @plugin 'catppuccin/tmux#v2.0.0' # See https://github.com/catppuccin/tmux/tags for additional tags
    # ...alongside
    set -g @plugin 'tmux-plugins/tpm'
  3. (Optional) Set your preferred flavor, it defaults to "mocha":

    set -g @catppuccin_flavor 'mocha' # latte, frappe, macchiato or mocha

Important

You may have to run ~/.config/tmux/plugins/tpm/bin/clean_plugins if upgrading from an earlier version (especially from v0.3.0).

For TMUX versions prior to 3.2

This plugin uses features that were only introduced into tmux in version 3.2. If you are using a version earlier than this, you can still have lovely catppuccin colors, the installation method just looks a little different.

# In your ~/.tmux.conf

# Add the colors from the pallete. Check the themes/ directory for all options.

# Some basic mocha colors.
set -g @ctp_bg "#24273a"
set -g @ctp_surface_1 "#494d64"
set -g @ctp_fg "#cad3f5"
set -g @ctp_mauve "#c6a0f6"
set -g @ctp_crust "#181926"

# status line
set -gF status-style "bg=#{@ctp_bg},fg=#{@ctp_fg}"

# windows
set -gF window-status-format "#[bg=#{@ctp_surface_1},fg=#{@ctp_fg}] ##I ##T "
set -gF window-status-current-format "#[bg=#{@ctp_mauve},fg=#{@ctp_crust}] ##I ##T "

Upgrading from v0.3

Breaking changes have been introduced since 0.3, to understand how to migrate your configuration, see pinned issue #291.

Recommended Default Configuration

This configuration shows some customisation options, that can be further extended as desired. This is what is used for the previews above.

Example configuration

set -g @plugin 'catppuccin/tmux#latest' # See https://github.com/catppuccin/tmux/tags for additional tags
# set -g @plugin 'catppuccin/tmux' # main branch
# ...alongside
set -g @plugin 'tmux-plugins/tpm'

Documentation

Guides

Reference

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

About

My fork for custom tmux catppuccin theme

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%