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

window_status_style 'slanted' and window_number_position 'right' create color bleeding. #353

Closed
1 task done
mrt181 opened this issue Oct 4, 2024 · 0 comments · Fixed by #369
Closed
1 task done
Assignees
Labels
bug Something isn't working

Comments

@mrt181
Copy link

mrt181 commented Oct 4, 2024

Is there an existing issue outlining your problem?

  • I have searched the existing issues and they do not solve my problem.

Describe your problem.

When using 'slanted' and 'right' the background is not filled completely.
see the screenshots

Paste your configuration.

# ctrl-q as prefix instead of ctrl-b
unbind C-b
set -g prefix C-Space
# 'C-Space C-Space' sends C-Space keypress to the current window
bind C-Space send-prefix

# default shell
set -g default-shell /bin/fish

# vi mode
setw -g mode-keys vi

set -g base-index 1
setw -g pane-base-index 1

unbind r
bind r source-file ~/.tmux.conf

set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"

set-option -g status-position top

set -g mouse on

set -s set-clipboard on

bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

# restore clear screen
bind C-l send-keys 'C-l'

bind s set-window-option synchronize-panes

# split panes
bind - split-window -v -c "#{pane_current_path}"
bind / split-window -h -c "#{pane_current_path}"

unbind [
bind Escape copy-mode
bind p paste-buffer
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send -X copy-selection
bind -T copy-mode-vi V send -X rectangle-toogle
bind C-p run "tmux set-buffer \"$(getclip)\"; tmux paste-buffer"

# TPM
# list of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'schasse/tmux-jump'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'alexwforsythe/tmux-which-key'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'

set -g @catppuccin_flavor "macchiato"
set -g @catppuccin_window_status_style "slanted"
set -g @catppuccin_window_number_position "left"
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"

set -g @catppuccin_status_background "default"
set -g @catppuccin_status_left_separator  " █"
set -g @catppuccin_status_right_separator ""
set -g @catppuccin_status_left_separator_inverse "yes"
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "yes"

set -g @catppuccin_pane_status_enabled "yes"

set -g @catppuccin_directory_text "#{pane_current_path}"

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

set -g  status-left ""
set -g  status-right "#{E:@catppuccin_status_directory}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_date_time}"

Attach screenshots.

image

image

What tmux version are you seeing the issue on?

3.4

Any additional comments?

No response

@mrt181 mrt181 added the bug Something isn't working label Oct 4, 2024
@kjnsn kjnsn self-assigned this Oct 5, 2024
kjnsn added a commit that referenced this issue Oct 12, 2024
* fix(window): middle_separator

`middle_separator` is _not_ the same for fill `number` and `all`.
For fill the colors are the same as text or color.

* chore(window): move left inside fill all branch

left_separator was _always_ overwritten in the `fill == number` branch.

Fixes #353

---------

Co-authored-by: Kaley Main <kaleymain@google.com>
pauldthomson pushed a commit to pauldthomson/tmux that referenced this issue Nov 14, 2024
* fix(window): middle_separator

`middle_separator` is _not_ the same for fill `number` and `all`.
For fill the colors are the same as text or color.

* chore(window): move left inside fill all branch

left_separator was _always_ overwritten in the `fill == number` branch.

Fixes catppuccin#353

---------

Co-authored-by: Kaley Main <kaleymain@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants