Skip to content

Status right separator not keeping background color #430

@OneComputerGuy

Description

@OneComputerGuy

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 they do not solve my problem.

Describe your problem.

While migrating my 0.3.0 config to latest, I ran into a specific issue that I haven't been able to figure out. When adding a symbol as a separator for the status on the right-hand side, the icon selected doesn't take the same background color as seen here (right side of the status modules is white - Yes, the weather module is not working right now but that's battle for another day 😅):

image

Paste your configuration.

# Sets the color to 256
set -g default-terminal "screen-256color"

set-option -g status-position top

# Changes the prefix from Ctrl+b to Ctrl+a since is easier
set -g prefix C-a
unbind C-b
bind-key C-a send-prefix

# Changes the commands to split the pages horizontally and vertically
unbind %
bind | split-window -h -c "#{pane_current_path}"

unbind '"'
bind - split-window -v -c "#{pane_current_path}"

# Allows to reload the Tmux config file with the r key
unbind r
bind r source-file ~/.config/tmux/tmux.conf

# Tmux pane modifications (resizing and maximizing)
bind -r j resize-pane -D 5
bind -r k resize-pane -U 5
bind -r l resize-pane -R 5
bind -r h resize-pane -L 5

bind -r m resize-pane -Z # Maximizes the selected pane

set -g mouse on

# Changes the starting index of the Tmux windows
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on

############################### TPM Configuration #############################
# Tmux Plugin Manager (tpm)
set -g @plugin 'tmux-plugins/tpm'

# Plugin list
set -g @plugin 'christoomey/vim-tmux-navigator' # Allows the user of Vim keys to move between panes
set -g @plugin 'tmux-plugins/tmux-resurrect' # Persists TMux sessions after computer restart
set -g @plugin 'tmux-plugins/tmux-continuum' # Saves sessions every 15 minutes
set -g @plugin 'catppuccin/tmux' 
set -g @plugin 'xamut/tmux-weather'

# Weather plugin configuration
set -g @tmux-weather-location "Bogotá"
set -g @tmux-weather-format "%c%t"

# Session store configuration
set -g @resurrect-capture-pane-contents 'on' # Saves the state of the panes for restoration
set -g @continuum-save-interval '5'
set -g @continuum-restore 'on' # Restores on launch

#################### Theme customizations ####################
run ~/.config/tmux/plugins/tmux/catppuccin.tmux

#Theme selection and styling
set -g @catppuccin_flavor 'mocha'
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_window_number_position "right"

set -g status-right-length 200
set -g status-left-length 100
# Default window styles
set -g @catppuccin_window_text "#W"
set -g @catppuccin_window_number_color "#{@thm_blue}"
set -g @catppuccin_window_text_color "#{@thm_mantle}"

# Active window styles
set -g @catppuccin_window_current_text "#W"
set -g @catppuccin_window_current_text_color "#{@thm_surface_1}"
set -g @catppuccin_window_current_number_color "#{@thm_peach}"

# Custom modules styles
set -g @catppuccin_user_icon " "
set -g @catppuccin_user_text " Sebastian "

set -g @catppuccin_session_text " #S "


set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_status_module_bg_color "#{@thm_mantle}"

# set -g @catppuccin_status_modules_right "weather user host session"

set -g status-left ""
set -g status-right "#{E:@catppuccin_status_weather}"
set -ag status-right "#{E:@catppuccin_status_user}"
set -ag status-right "#{E:@catppuccin_status_session}"


# Initializes the Tmux Plugin Manager
run '~/.tmux/plugins/tpm/tpm'

Attach screenshots.

No response

What tmux version are you seeing the issue on?

tmux 3.5a

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions