Skip to content

Commit

Permalink
fix(window): ensure the window formats are set correctly (#331)
Browse files Browse the repository at this point in the history
fix(readme): update the readme to include upgrade instructions

chore: release 1.0.0
  • Loading branch information
kjnsn authored Oct 1, 2024
1 parent 87fa4a0 commit 1bcad05
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
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

0 comments on commit 1bcad05

Please sign in to comment.