-
-
Notifications
You must be signed in to change notification settings - Fork 811
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 they do not solve my problem.
Describe your problem.
I did search for a similar issue, but couldn't find anything matching exactly with my issue.
## Issue 1
When doing :
set -g @catppuccin_status_background "default"
This looks fine, but the background color didn't exactly match the terminal colors, so I tried to make the tmux status background color 'transparent'
But, when doing:
set -g @catppuccin_status_background "none"
Now, the status background color exactly matches the terminal color. As you can see when setting the status background color to 'none' i.e. transparent the separators around Status session modules are showing weird black/white colors. There is no such issue around Modules on the right hand side.
## Issue 2
While changing the background color and doing refresh of the tmux config works fine within the current session, but changing the Catppuccin flavor doesn't work either after tmux config refresh or even after detaching and reattaching to the tmux session, or even creating a new one. Only way I can make the 'flavor change' work is by doing a tmux kill-server.
I am currently using iterm on MacOS, but both issue prersists across other terminals like Wezterm and Alacritty.
Paste your configuration.
# Set terminal to support 256 colors and true color
set -g default-terminal "tmux-256color" # Enhanced color support
set -ag terminal-overrides ",xterm-256color:RGB" # Enable true color rendering
# Remap Tmux Prefix Key from C-b to C-a (easier to reach)
set -g prefix C-a # Change default prefix key
unbind C-b # Unbind old prefix
bind-key C-a send-prefix # Allow sending C-a to other apps
# Split panes using more intuitive keys
unbind % # Unbind default horizontal split
bind | split-window -h # Use | for horizontal split
unbind '"' # Unbind default vertical split
bind - split-window -v # Use - for vertical split
# Reload configuration quickly
unbind r # Unbind previous r key
bind r source-file ~/.config/tmux/tmux.conf # Reload config with Prefix+r
# Resize panes with vim-like movements
bind -r j resize-pane -D 5 # Resize down
bind -r k resize-pane -U 5 # Resize up
bind -r l resize-pane -R 5 # Resize right
bind -r h resize-pane -L 5 # Resize left
bind -r m resize-pane -Z # Toggle pane maximize/zoom
# Enable mouse support for easier interaction
set -g mouse on # Allow mouse to interact with tmux
# Use vi-style key bindings in copy mode
set-window-option -g mode-keys vi # Vi-style key bindings
# Set Tmux Position to the Top of Window to avoid crowding at bottom
set-option -g status-position top
# Improved copy mode bindings
bind-key -T copy-mode-vi 'v' send -X begin-selection # Start selection with v
bind-key -T copy-mode-vi 'y' send -X copy-selection # Copy selection with y
unbind -T copy-mode-vi MouseDragEnd1Pane # Prevent exit on mouse drag
# Reduce escape key delay for better responsiveness
set -sg escape-time 10 # Faster command sequences
# Tmux Plugin Manager (TPM) configuration
set -g @plugin 'tmux-plugins/tpm' # Tmux plugin manager
# set -g @plugin 'tmux-plugins/tmux-sensible' # Tmux plugin manager
# Useful tmux plugins
set -g @plugin 'christoomey/vim-tmux-navigator' # Seamless vim/tmux navigation
set -g @plugin 'tmux-plugins/tmux-resurrect' # Persist tmux sessions
set -g @plugin 'tmux-plugins/tmux-continuum' # Automatic session saving
set -g @plugin 'catppuccin/tmux#v2.1.2' # Tmux Catppuccin Theme!
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'tmux-plugins/tmux-cpu'
# set -g @plugin 'jimeh/tmux-themepack' # to configure tmux theme
# set -g @themepack 'powerline/double/cyan' # use this theme for tmux
# Plugin-specific configurations
set -g @resurrect-capture-pane-contents 'on' # Save pane contents
set -g @continuum-restore 'on' # Automatically restore last saved session
# Configure the catppuccin plugin
# set -g @catppuccin_flavor "mocha"
set -g @catppuccin_flavor "latte"
set -g @catppuccin_window_status_style "rounded"
# set -g @catppuccin_status_background "#242638"
# set -g @catppuccin_status_background "#1e1e2e"
set -g @catppuccin_status_background "none"
set -g @catppuccin_window_current_text " #{b:pane_current_path}"
set -g @catppuccin_window_text " #{b:pane_current_path}"
# 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-left "#{E:@catppuccin_status_session}"
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
# set -ag status-right "#{E:@catppuccin_status_uptime}"
set -agF status-right "#{E:@catppuccin_status_battery}"
# Initialize TMUX plugin manager (keep at bottom of file)
run '~/.tmux/plugins/tpm/tpm'
# Load catppuccin
# run "~/.config/tmux/plugins/tmux/catppuccin.tmux"
Attach screenshots.
Screenshots mentioned in the Problem section.
Here is same issue in Latte Flavor.
What tmux version are you seeing the issue on?
tmux 3.5a
Any additional comments?
No response


