catppuccin / tmux

💽 Soothing pastel theme for Tmux!
MIT License
1.84k stars 573 forks source link

Rounded statusbar style not applied for selected window #350

Closed paulwyszynski closed 1 week ago

paulwyszynski commented 1 week ago

Is there an existing issue outlining your problem?

Describe your problem.

Hi!

Rouded window-status-style is not applied to current selected window. Is this expected behavior?

Paste your configuration.

# Catppuccin theme config
set -g @catppuccin_flavor 'macchiato'
set -g @catppuccin_window_status_style "rounded"
set -g @catppuccin_window_default_text " #W"
set -g @catppuccin_window_current_text " #W"
set -g @catppuccin_window_current_background "#{@thm_mauve}"

Attach screenshots.

Screenshot 2024-10-03 at 3 48 25 PM

What tmux version are you seeing the issue on?

tmux 3.5

Any additional comments?

No response

kjnsn commented 1 week ago

I'm unable to replicate this. Have you completely restarted the tmux server after changing your configuration?

paulwyszynski commented 1 week ago

@kjnsn I don't know what exacty the problem was, but after tweaking my config , killing tmux server and restarting, it started to work. I also deleted tmux plugin folder and fetched everything from scratch. And the theme styling was correct now.

Thanks!

Btw the theme is sometimes not applied correctly on config reload. Sometimes you have to start a new session or kill tmux completely and start a new session to see the theme settings applied. To be completely sure I even cloned tpm from scratch again. Maybe because it clashed with other theme settings. Even if you delete previous settings tmux will keep those unless you set back the defaults or start from scratch.

I'm running a Mac OS Sonoma on M1

In case anybody has the same issue, here's my current config which is partially built on another user:

# Catppuccin theme config
set -g @catppuccin_flavor 'macchiato'
set -g @catppuccin_window_status_style "rounded"
# Config from https://github.com/omerxx/dotfiles/blob/a2e5406eeb1e7854dc4b1149b618c01ed13a6c53/tmux/tmux.conf
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_window_default_text "#W "
set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,() , }"
set -g @catppuccin_status_left_separator " "
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "no"
set -g @catppuccin_status_fill "icon"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_directory_text "#{b:pane_current_path}"
set -g @catppuccin_date_time_text "%H:%M"
# Top status bar config
set -g status-left "#{E:@catppuccin_status_session}"
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_directory}"
set -ag status-right "#{E:@catppuccin_status_date_time}"

Which basically looks like this:

Screenshot 2024-10-04 at 11 20 22 AM