Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(window): ensure the window formats are set correctly #331

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ git clone https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppucc
listed in [Configuration Options](#configuration-options). These options must be added above the `run ~/.config...` line.
4. Reload Tmux by either restarting or reloading with `tmux source ~/.tmux.conf`

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

### TPM

1. Install [TPM](https://github.com/tmux-plugins/tpm)
Expand All @@ -85,6 +89,17 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @catppuccin_flavor 'mocha' # latte, frappe, macchiato or mocha
```

### Upgrading from v0.3.0

If you are upgrading from 0.3.0 to any later versions, please note the following changes:

1. The `status-left` and `status-right` options are no longer controlled by this plugin.
You can adjust these manually. See the section on status line modules for more details.
1. Any custom status line modules may no longer work correctly, and will need to be rewritten
to maintain compatibility with newer plugin versions.

The plugin can be pinned to v0.3.0 if desired: `set -g @plugin 'catppuccin/tmux#v0.3.0'`.

## Overview

![Default](./assets/overview.png)
Expand Down
4 changes: 2 additions & 2 deletions catppuccin_options_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ set -ogq @catppuccin_window_status_style "basic" # basic, rounded, slanted, cust
set -ogq @catppuccin_window_default_fill "number"
set -ogq @catppuccin_window_default_color "#{@thm_surface_0}"
set -ogq @catppuccin_window_default_background "#{@thm_overlay_2}"
set -ogq @catppuccin_window_default_text " ##T"
set -ogq @catppuccin_window_default_text " #T"
set -ogq @catppuccin_window_current_fill "number"
set -ogq @catppuccin_window_current_color "#{@thm_surface_1}"
set -ogq @catppuccin_window_current_background "#{@thm_peach}"
set -ogq @catppuccin_window_current_text " ##T"
set -ogq @catppuccin_window_current_text " #T"
set -ogq @catppuccin_window_number_position "left"
set -ogq @catppuccin_window_status "none"
set -ogq @catppuccin_window_flags_icon_last " 󰖰" # -
Expand Down