• Stars
    star
    1,635
  • Rank 28,601 (Top 0.6 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 3 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ฝ Soothing pastel theme for Tmux!

Logo
Catppuccin for
Tmux

Content

  1. Themes
  2. Installation
  3. Overview
  4. Configuration options
    1. Window
    2. Window default
    3. Window current
    4. Status
    5. Customizing modules
    6. Battery module
  5. Create a custom module
  6. Configuration Examples
    1. Config 1
    2. Config 2
    3. Config 3

Themes

Installation

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

TPM

  1. Install TPM
  2. Add the Catppuccin plugin:
set -g @plugin 'catppuccin/tmux'
# ...alongside
set -g @plugin 'tmux-plugins/tpm'
  1. (Optional) Set your preferred flavour, it defaults to "mocha":
set -g @catppuccin_flavour 'latte' # or frappe, macchiato, mocha

Manual

  1. Copy your desired theme's configuration contents into your Tmux config (usually stored at ~/.tmux.conf)
  2. Reload Tmux by either restarting the session or reloading it with tmux source-file ~/.tmux.conf

Overview

Default This is a diagram on how the theme is split between it's components.

Configuration options

All flavours support certain levels of customization that match our Catppuccin Style Guide. To add these customizations, add any of the following options to your Tmux configuration.

Window

Set the window left separator:

set -g @catppuccin_window_left_separator "โ–ˆ"

Set the window middle separator:

set -g @catppuccin_window_middle_separator "โ–ˆ"

Set the window right separator:

set -g @catppuccin_window_right_separator "โ–ˆ"

Position the number:

set -g @catppuccin_window_number_position "left"

Values:

  • left - the number will be on the left part of the window
  • right - the number will be on the right part of the window

Enable window status:

set -g @catppuccin_window_status_enable "yes"

Values:

  • yes - this will enable the window status part
  • no - this will disable the window status part

Enable window status icons instead of text:

set -g @catppuccin_window_status_icon_enable "yes"

Values:

  • yes - this will replace the windows status text with icons
  • no - this will keep the windows status in text format

Override windows status icons

set -g @catppuccin_icon_window_last "๓ฐ–ฐ"
set -g @catppuccin_icon_window_current "๓ฐ–ฏ"
set -g @catppuccin_icon_window_zoom "๓ฐŒ"
set -g @catppuccin_icon_window_mark "๓ฐƒ€"
set -g @catppuccin_icon_window_silent "๓ฐ‚›"
set -g @catppuccin_icon_window_activity "๓ฐ–ฒ"
set -g @catppuccin_icon_window_bell "๓ฐ‚ž"

Window default

Set the window default color fill:

set -g @catppuccin_window_default_fill "number"

Values:

  • number - only the number of the window part will have color
  • all - the entire window part will have the same color
  • none - the entire window part will have no color

Override the window default text:

set -g @catppuccin_window_default_text "#{b:pane_current_path}" # use "#W" for application instead of directory

Window current

Set the window current color fill:

set -g @catppuccin_window_current_fill "number"

Values:

  • number - only the number of the window part will have color
  • all - the entire window part will have the same color
  • none - the entire window part will have no color

Override the window current text:

set -g @catppuccin_window_current_text "#{b:pane_current_path}" # use "#W" for application instead of directory

Set the current directory format

set -g @catppuccin_window_current_format_directory_text "#{b:pane_current_path}"

Use this to overide the way the current directory is displayed.

Set the directory format

set -g @catppuccin_window_format_directory_text "#{b:pane_current_path}"

Use this to overide the way the directory is displayed.

Status

Set the status module left separator:

set -g @catppuccin_status_left_separator "๎‚ถ"

Set the status module right separator:

set -g @catppuccin_status_right_separator "โ–ˆ"

Set the status module right separator inverse:

set -g @catppuccin_status_right_separator_inverse "no"

Values:

  • yes - the colors will be inverted for the right separator
  • no - the colors will not be inverted for the right separator

Set the status connect separator:

set -g @catppuccin_status_connect_separator "yes"

Values:

  • yes - the background color of the separator will not blend in with the brackground color of tmux
  • no - the background color of the separator will blend in with the brackground color of tmux

Set the status module color fill:

set -g @catppuccin_status_fill "icon"

Values:

  • icon - only the icon of the module will have color
  • all - the entire module will have the same color

Set the module list

set -g @catppuccin_status_modules_right "application session"
set -g @catppuccin_status_modules_left ""

Provide a list of modules and the order in which you want them to appear in the status.

Available modules:

  • application - display the current window running application
  • directory - display the basename of the current window path
  • session - display the number of tmux sessions running
  • user - display the username
  • host - display the hostname
  • date_time - display the date and time
  • battery - display the battery

Customizing modules

Every module (except the module "session") supports the following overrides:

Override the specific module icon

set -g @catppuccin_[module_name]_icon "icon"

Override the specific module color

set -g @catppuccin_[module_name]_color "color"

Override the specific module text

set -g @catppuccin_[module_name]_text "text"

Removing a specific module option

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"

Battery module

Requirements

This module depends on tmux-battery.

Install

The prefered way to install tmux-battery is using TPM.

Configure

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 -g @catppuccin_status_modules_right "... battery ..."

Create a custom module

It is possible to add a new custom module or overrite any of the existing modules.

Look into custom/README.md for more details.

Any file added to the custom folder will be preserved when updating catppuccin.

Configuration Examples

Below are provided a few configurations as examples or starting points.

Note: When switching bettwen configurations run:

tmux kill-server

In order to kill the tmux server and clear all global variables.

Config 1

Default

set -g @catppuccin_window_right_separator "โ–ˆย "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator " | "

set -g @catppuccin_window_default_fill "none"

set -g @catppuccin_window_current_fill "all"

set -g @catppuccin_status_modules_right "application session user host date_time"
set -g @catppuccin_status_left_separator "โ–ˆ"
set -g @catppuccin_status_right_separator "โ–ˆ"

set -g @catppuccin_date_time_text "%Y-%m-%d %H:%M:%S"

Config 2

Default

set -g @catppuccin_window_left_separator "๎‚บโ–ˆ"
set -g @catppuccin_window_right_separator "โ–ˆ๎‚ผย "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_middle_separator "  ๎‚บโ–ˆ"

set -g @catppuccin_window_default_fill "number"

set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#{pane_current_path}"

set -g @catppuccin_status_modules_right "application session date_time"
set -g @catppuccin_status_left_separator  "๎‚ถ"
set -g @catppuccin_status_right_separator " ๎‚ถ"
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "no"

Config 3

Default

set -g @catppuccin_window_left_separator "๎‚ถ"
set -g @catppuccin_window_right_separator "๎‚ดย "
set -g @catppuccin_window_middle_separator " โ–ˆ"
set -g @catppuccin_window_number_position "right"

set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W"

set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W"

set -g @catppuccin_status_modules_right "directory user host session"
set -g @catppuccin_status_left_separator  " ๎‚ถ"
set -g @catppuccin_status_right_separator "๎‚ด"
set -g @catppuccin_status_right_separator_inverse "no"
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"

set -g @catppuccin_directory_text "#{pane_current_path}"

๐Ÿ’ Thanks to

ย 

Copyright ยฉ 2021-present Catppuccin Org

More Repositories

1

catppuccin

๐Ÿ˜ธ Soothing pastel theme for the high-spirited!
TypeScript
14,655
star
2

nvim

๐Ÿจ Soothing pastel theme for (Neo)vim
Lua
5,432
star
3

vscode

๐ŸฆŒ Soothing pastel theme for VSCode & Azure Data Studio
TypeScript
1,013
star
4

wallpapers

๐Ÿ–ผ๏ธ Wallpapers to match your Catppuccin setups!
TypeScript
944
star
5

gtk

๐ŸชŸ Soothing pastel theme for GTK3/4
Python
908
star
6

discord

๐ŸŽฎ Soothing pastel theme for Discord
SCSS
763
star
7

vscode-icons

๐ŸฆŠ Soothing pastel icons for VSCode/VSCodium
TypeScript
561
star
8

iterm

๐Ÿญ Soothing pastel theme for iTerm2
TypeScript
473
star
9

userstyles

๐Ÿ–Œ Soothing pastel userstyles
Less
459
star
10

spicetify

๐ŸŽง Soothing pastel theme for Spotify
CSS
427
star
11

alacritty

๐ŸŒด Soothing pastel theme for Alacritty
406
star
12

qbittorrent

๐Ÿงฒ Soothing pastel theme for qBittorrent
Just
402
star
13

firefox

๐ŸฆŠ Soothing pastel theme for Firefox
JavaScript
377
star
14

obsidian

๐Ÿ’Ž Soothing pastel theme for Obsidian
CSS
371
star
15

jetbrains

๐Ÿง  Soothing pastel theme for JetBrains IDEs
TypeScript
367
star
16

nix

โ„๏ธ Soothing pastel theme for Nix
Nix
364
star
17

kitty

๐Ÿ˜ฝ Soothing pastel theme for Kitty
314
star
18

stable-diffusion-webui

๐Ÿง‘โ€๐ŸŽจ Soothing pastel theme for Stable Diffusion WebUI
CSS
291
star
19

bat

๐Ÿฆ‡๏ธ Soothing pastel theme for Bat
TypeScript
285
star
20

emacs

๐Ÿ„ Soothing pastel theme for Emacs
Emacs Lisp
278
star
21

palette

๐ŸŽจ Soothing pastel theme to use within your projects!
JavaScript
265
star
22

rofi

๐Ÿฆ‚ Soothing pastel theme for Rofi
Shell
265
star
23

minecraft

โ›๏ธ Soothing pastel theme for Minecraft
Python
255
star
24

github

๐Ÿˆโ€โฌ› Soothing pastel theme for GitHub
CSS
243
star
25

zed

๐Ÿฆ€ Soothing pastel theme for Zed
220
star
26

egui

๐Ÿ“ Soothing pastel theme for egui
Rust
218
star
27

cursors

๐Ÿ Soothing pastel mouse cursors
Shell
213
star
28

gitea

๐Ÿต Soothing pastel theme for Gitea
SCSS
213
star
29

kde

๐ŸŒป Soothing pastel theme for KDE
Shell
199
star
30

starship

๐Ÿš€ Soothing pastel theme for Starship
Just
199
star
31

tailwindcss

๐Ÿ’จ Soothing pastel theme for Tailwind CSS
TypeScript
189
star
32

dark-reader

โœด๏ธ Soothing pastel theme for Dark Reader
185
star
33

i3

๐ŸŒป Soothing pastel themes for i3 & sway
Just
173
star
34

fish

๐ŸŸ Soothing pastel theme for the Fish Shell
172
star
35

windows-terminal

๐ŸชŸ Soothing pastel theme for Windows Terminal
171
star
36

waybar

๐Ÿ“ Soothing pastel theme for Waybar
CSS
169
star
37

grub

๐ŸŒ• Soothing pastel theme for Grub2
167
star
38

lazygit

๐Ÿด Soothing pastel theme for Lazygit
Nix
161
star
39

youtube

๐Ÿ“บ Soothing pastel theme for YouTube
CSS
161
star
40

home-assistant

๐Ÿ  Soothing pastel theme for Home Assistant
149
star
41

hyprland

๐ŸŒป Soothing pastel theme for Hyprland
Just
144
star
42

logseq

๐Ÿฆซ Soothing pastel theme for Logseq
SCSS
141
star
43

vim

๐Ÿง‹ Soothing pastel theme for Vim
Vim Script
133
star
44

zellij

๐Ÿ™ Soothing pastel theme for Zellij
Just
121
star
45

nilesoft-shell

๐Ÿ“ƒ Soothing pastel theme for Nilesoft Shell
NWScript
121
star
46

telegram

๐Ÿ’ฌ Soothing pastel theme for Telegram
Smarty
120
star
47

konsole

๐Ÿฆš Soothing pastel theme for Konsole
Just
116
star
48

zsh-syntax-highlighting

๐Ÿช— Soothing pastel theme for zsh-syntax-highlighting
Shell
116
star
49

btop

๐Ÿง™โ€โ™‚๏ธ Soothing pastel theme for btop
115
star
50

fzf

๐Ÿงจ Soothing pastel theme for fzf
115
star
51

slack

๐Ÿ’ผ Soothing pastel theme for Slack
111
star
52

youtubemusic

๐ŸŽง Soothing pastel theme for YouTube Music
CSS
110
star
53

sublime-text

๐Ÿ‹ Soothing pastel color schemes for Sublime Text
109
star
54

wezterm

๐Ÿš Soothing pastel theme for WezTerm
Lua
109
star
55

jupyterlab

๐Ÿ“Š Soothing pastel theme for JupyterLab
CSS
109
star
56

cosmic-desktop

โœจ Soothing pastel theme for COSMIC Desktop Environment
Python
104
star
57

fleet

๐ŸŒŠ Soothing pastel theme for JetBrains Fleet
Kotlin
103
star
58

tty

๐Ÿ–ฅ๏ธ Soothing pastel theme for the Linux TTY
Shell
101
star
59

dunst

๐Ÿค Soothing pastel theme for Dunst
100
star
60

steam

๐Ÿ•น๏ธ Soothing pastel theme for Steam (WIP)
CSS
99
star
61

warp

โšก Soothing pastel theme for Warp
TypeScript
98
star
62

rust

๐Ÿฆ€ Soothing pastel theme for Rust
Rust
97
star
63

python

๐Ÿ Soothing pastel theme for Python
Python
96
star
64

gnome-terminal

๐Ÿงโ€โ™‚๏ธ Soothing pastel theme for Gnome Terminal
Python
95
star
65

jetbrains-icons

๐ŸฆŠ Soothing pastel icons for JetBrains IDEs
Kotlin
94
star
66

godot

๐Ÿ‘พ Soothing pastel theme for Godot
Just
89
star
67

xcode

๐ŸŒ Soothing pastel theme for Xcode
Just
88
star
68

mdBook

๐ŸŽŠ Soothing pastel theme for mdBook
CSS
87
star
69

chrome

๐Ÿ‘ป Soothing pastel theme for Chrome
86
star
70

papirus-folders

๐Ÿ“œ Soothing pastel theme for Papirus Icon Theme folders
Shell
84
star
71

hyprlock

๐Ÿ”’ Soothing pastel theme for Hyprlock
80
star
72

go

๐Ÿฆซ Soothing pastel library for Go
Go
77
star
73

duckduckgo

๐Ÿฆ† Soothing pastel theme for DuckDuckGo
JavaScript
75
star
74

github-file-explorer-icons

๐Ÿ™ Soothing pastel icons for GitHub File Explorer
TypeScript
74
star
75

cli

๐Ÿช„ Soothing pastel theme manager (WIP)
Go
72
star
76

joplin

๐Ÿ“”๏ธ Soothing pastel theme for Joplin
CSS
72
star
77

vimium

๐ŸŒผ Soothing pastel theme for Vimium
CSS
71
star
78

matplotlib

๐Ÿ“Š Soothing pastel theme for Matplotlib
Python
71
star
79

notepad-plus-plus

๐Ÿˆ Soothing pastel theme for Notepad++
70
star
80

zathura

๐Ÿงšโ€โ™‚๏ธ Soothing pastel theme for Zathura
70
star
81

termux

โ›„ Soothing pastel theme for Termux!
69
star
82

helix

โžฟ Soothing pastel theme for Helix!
Python
69
star
83

website

๐ŸŒ Soothing pastel theme for the World Wide Web
Astro
69
star
84

toolbox

๐Ÿงฐ Catppuccin's development tools
JavaScript
69
star
85

sddm

๐Ÿ”’ Soothing pastel theme for SDDM
QML
67
star
86

obs

โบ๏ธ Soothing pastel theme for OBS Studio
Shell
67
star
87

fcitx5

๐Ÿงƒ Soothing pastel theme for Fcitx5
66
star
88

k9s

๐Ÿถ Soothing pastel theme for k9s
TypeScript
64
star
89

polybar

๐Ÿ“ Soothing pastel theme for Polybar
64
star
90

refind

๐Ÿ”„ Soothing pastel theme for rEFInd
63
star
91

yazi

๐Ÿฅ Soothing pastel theme for Yazi
TypeScript
63
star
92

floris-board

๐Ÿฅ€ Soothing pastel theme for Floris Board
61
star
93

gitui

๐Ÿด Soothing pastel theme for GitUI
Just
59
star
94

swaync

๐Ÿ”” Soothing pastel theme for SwayNC
SCSS
57
star
95

infinity

๐Ÿ›ธ Soothing pastel theme for Infinity for Reddit
57
star
96

qt5ct

๐ŸŽจ Soothing pastel theme for qt5ct
57
star
97

mc

๐ŸŒœ Soothing pastel theme for Midnight Commander
57
star
98

visual-studio

๐ŸŒŠ Soothing pastel themes for Visual Studio
PowerShell
54
star
99

Terminal.app

๐Ÿ’ป Soothing pastel theme for Terminal.app
54
star
100

freshrss

๐Ÿ“ฅ Soothing pastel theme for FreshRSS
CSS
53
star