Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to specify separator colors #87

Closed
druskus20 opened this issue Oct 15, 2023 · 2 comments
Closed

Add option to specify separator colors #87

druskus20 opened this issue Oct 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@druskus20
Copy link

image
I want to change the background of the entire Tmux bar, however, the separators have a different color. I can't find a way to set the separator color.

# To set the bar color, use: 
set -g status-bg "#181825"
@druskus20
Copy link
Author

Actually, just as I opened this, I figured out a way:

set -g @catppuccin_status_left_separator "#[fg=#ffffff,bg=#ffffff,bold,underscore,italics]█"
set -g @catppuccin_status_right_separator "#[fg=#ff0000,bg=#ff0000,bold,underscore,italics]█"

It's a bit of a hack but it works

@druskus20
Copy link
Author

druskus20 commented Oct 15, 2023

I've almost managed to do it.

# Set background for the status bar
set -g @catppuccin_window_right_separator "#[fg=#313244,bg=#181825]█ "
set -g @catppuccin_status_left_separator "█"
set -g @catppuccin_status_left_separator "#[bg=#181825] █" 
set -g @catppuccin_window_current_fill "number"

# other stuff
set -g @catppuccin_status_left_separator_inverse "no"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_modules_right "directory session user host"
set -g @catppuccin_directory_text "#{pane_current_path}"
set -g @catppuccin_window_current_text "#W"

image

The only problem, is that window middle separator color is not configurable:

build_window_format() {

local background="$thm_bg"

Which results in:

image

Could we, either add an option to tweak this, or just options for each separator?

@sgoudham sgoudham changed the title Option to sepecify separator colors? Add option to specify separator colors Mar 7, 2024
@sgoudham sgoudham added the enhancement New feature or request label Mar 7, 2024
@89iuv 89iuv closed this as completed Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants