Coder Social home page Coder Social logo

catppuccin-tmux's Introduction

Logo
Catppuccin for Tmux

Content

  1. Themes
  2. Installation
  3. Status line themes
    1. Default
    2. Pill
    3. Powerline
    4. Powerline with icons
    5. No patched fonts
  4. Configuration options
    1. Enable window tabs
    2. Configure separators
    3. Enable date and time
    4. Enable user
    5. Enable host
    6. Customize icons

Themes

Installation

In order to have the icons displayed correctly please use / update your favorite patched font or overwrite the defaults - refer to Customize icons section. If you do not have patched font installed, you can use the No patched fonts status line theme.

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

Status line themes

Default

Default

With window tabs option enabled

Default with wt enabled

Pill shape

set -g @catppuccin_pill_theme_enabled on

Pill shape

Powerline

set -g @catppuccin_powerline_theme_enabled on
set -g @catppuccin_l_left_separator "ξ‚°"
set -g @catppuccin_l_right_separator "ξ‚°"
set -g @catppuccin_r_left_separator "ξ‚²"
set -g @catppuccin_r_right_separator "ξ‚²"

Powerline

Powerline with icons

set -g @catppuccin_powerline_icons_theme_enabled on
set -g @catppuccin_l_left_separator "ξ‚°"
set -g @catppuccin_l_right_separator "ξ‚°"
set -g @catppuccin_r_left_separator "ξ‚²"
set -g @catppuccin_r_right_separator "ξ‚²"

Powerline with icons

No patched fonts

set -g @catppuccin_no_patched_fonts_theme_enabled on

No patched fonts

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.

Enable window tabs

By default, the theme places the window-status in the status-right. With @catppuccin_window_tabs_enabled set to on, the theme will place the directory within the status-right and move the window names to the window-status format variables.

set -g @catppuccin_window_tabs_enabled on # or off to disable window_tabs

Configure separator

By default, the theme will use a round separator. To overwrite it use @catppuccin_l_left_separator, @catppuccin_l_right_separator for left status / window tabs and @catppuccin_r_left_separator, @catppuccin_r_right_separator for right status.

With the default status line theme

set -g @catppuccin_l_right_separator "β–ˆ"
set -g @catppuccin_r_left_separator "β–ˆ"

Enable DateTime

By default, the date_time component is set to off. It can be enabled by specifying any tmux date and time format.

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

Enable User

By default, the user component is set to off. It can be enabled by toggling it on.

set -g @catppuccin_user "on"

Enable Host

By default, the host component is set to off. It can be enabled by toggling it on.

set -g @catppuccin_host "on"

Customize Icons

Each of the components comes with their own default icon, which can be changed to fit your preference or requirements of your font.

Note: NerdFont Icons do not render properly in the Github UI, so the below example does not use them

set -g @catppuccin_datetime_icon "A"
set -g @catppuccin_user_icon "B"
set -g @catppuccin_directory_icon "C"
set -g @catppuccin_window_icon "D"
set -g @catppuccin_session_icon "E"
set -g @catppuccin_host_icon "F"

πŸ’ Thanks to

Β 

Copyright Β© 2021-present Catppuccin Org

catppuccin-tmux's People

Contributors

pocco81 avatar rogeruiz avatar poulhoi avatar parkerkain-8451 avatar 89iuv avatar veejaypl avatar stasjok avatar nekowinston avatar vinnya3 avatar bluefalconhd avatar ethanholz avatar jtr860830 avatar lokesh-krishna avatar aszalowski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.