-
-
Notifications
You must be signed in to change notification settings - Fork 810
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I am not requesting help with my configuration and believe something is genuinely broken.
- Something is really actually broken.
Is there an existing issue outlining your problem?
- I have searched the existing issues and troubleshooting guide, and they do not solve my problem.
Describe your problem.
Describe the bug
When using @catppuccin_pane_default_text "#{pane_title}", all panes display the same title instead of their individual titles. The title shown is always from the last pane that was focused when the config was reloaded.
Expected behavior
Each pane should display its own individual title as set with select-pane -T "title" or the keybinding for renaming panes.
Actual behavior
- Set different titles for multiple panes (e.g.,
select-pane -T "Database"for pane 0,select-pane -T "API"for pane 1) - All panes show the same title
- When focusing a specific pane and reloading the config, ALL panes update to show that focused pane's title
- The titles appear to be stored per-pane correctly (verified with
tmux list-panes -F "#{pane_index}: #{pane_title}")
Workaround
Manually overriding pane-border-format after Catppuccin loads fixes the issue but loses all Catppuccin styling:
set -g pane-border-format "#[fg=#{@thm_surface_2}] #{pane_index} #[fg=#{@thm_fg}]#{pane_title} "
## Debug
When I did `tmux show-options -g pane-border-format` I got:
pane-border-format "#[fg=#a6e3a1,bg=default]β#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#a6e3a1,bg=#313244]β #[fg=#a6e3a1,bg=#313244]FE Running#[fg=#313244,bg=default]β"
See that `FE Running` was static. I had to manually override it with `#{pane_title}`.
### Paste your configuration.
# Bind r to reload source-file
unbind r
bind r source-file ~/.config/tmux/tmux.conf
# remap prefix from 'C-b' to 'C-space;'
unbind C-b
set-option -g prefix C-space;
bind-key C-space; send-prefix
# Mouse controls
set -g mouse on
setw -g mode-keys vi
# Keybinding to rename (Prefix + T)
bind T command-prompt -p "Pane title:" "select-pane -T '%%'"
# Pane names
set -g @catppuccin_pane_status_enabled "yes"
set -g @catppuccin_pane_border_status "top"
set -g @catppuccin_pane_number_position "left"
# Status bar
set-option -g status-position bottom
# Start window numbering at 1
set -g base-index 1
# Start pane numbering at 1
set -g pane-base-index 1
# Customize border colors
set -g @catppuccin_pane_border_style "fg=#{@thm_overlay_0}"
set -g @catppuccin_pane_active_border_style "fg=#{@thm_peach}"
set -g @catppuccin_pane_number_position "left"
# set -g @catppuccin_pane_default_text "#{pane_title}"
set -g @catppuccin_pane_default_fill "number"
set -g @catppuccin_pane_background_color "#{@thm_surface_0}"
# set -g @catppuccin_menu_selected_style "fg=#{@thm_fg},bold,bg=#{@thm_overlay_0}"
# Misc
set -g default-terminal "tmux-256color"
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_window_text " #W"
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_window_default_text "#W"
## Little hack to count the window correctly (since it starts with 1 now)
set -g @catppuccin_window_number "#(expr #I + 1)"
# Make the status line pretty and add some modules
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -agF status-right "#{E:@catppuccin_status_battery}"
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
run '~/.config/tmux/plugins/tpm/tpm'
set -g pane-border-format "#[fg=#a6e3a1,bg=default]β#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#a6e3a1,bg=#313244]β #[fg=#a6e3a1,bg=#313244]#{pane_title}#[fg=#313244,bg=default]β"
`Note that I added the last line to override the catpuccin config and with that I was able to make it work`
### Attach screenshots.
_No response_
### What tmux version are you seeing the issue on?
tmux 3.5a
### What shell are you using?
zsh
### Any additional comments?
_No response_
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working