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

Tmux separator color of first split is white #136

Open
FreddyFunk opened this issue Feb 17, 2024 · 4 comments
Open

Tmux separator color of first split is white #136

FreddyFunk opened this issue Feb 17, 2024 · 4 comments
Labels
bug Something isn't working cant reproduce

Comments

@FreddyFunk
Copy link

This is a very odd behavior. I am running on Alacritty 0.13.1 with the catppuccin theme and tmux 3.4 on macOS. It worked fine before installing catppuccin.

Also my pomodoro timer disappeared in the tmux status bar as well.

Screen.Recording.2024-02-17.at.15.32.38.mov

tmux config:

# fix tpm when tmux is installed with homebrew on macOS
set-environment -g PATH "/opt/homebrew/bin:/usr/local/bin:/bin:/usr/bin"

# List of plugins
# Install theme first and tpm last
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'olimorris/tmux-pomodoro-plus'
set -g @plugin 'tmux-plugins/tpm'
#set -g @plugin 'tmux-plugins/tmux-sensible'

# shell config
set-option -g default-shell /bin/zsh
set-option -g history-limit 25000
set -g mouse on

# for neovim
set -sg escape-time 10
set-option -g focus-event on
# vi for copy mode
setw -g mode-keys vi

# term colors, these are the correct ones according to neovim checkhealth
set-option -g default-terminal "screen-256color"
set -sg terminal-overrides ",*:RGB"

# theme
set -g @catppuccin_flavour 'mocha'

# pomodoro timer
#set -g @pomodoro_toggle 'p' # conflicts with tmux default binding
set -g @pomodoro_on "#[fg=$text_red]🍅 "
set -g @pomodoro_complete "#[fg=$text_green]🍅 "
set -g @pomodoro_pause "#[fg=$color_yellow]🍅 "
set -g @pomodoro_prompt_break "#[fg=$color_green]🕤 ? "
set -g @pomodoro_prompt_pomodoro "#[fg=$color_gray]🕤 ? "
set -g @pomodoro_granularity 'on'
set -g @pomodoro_interval_display "[%s/%s]"

# status bar
set -g status-right "#{pomodoro_status}"

# count the panes from 1
set -g base-index 1
setw -g pane-base-index 1

# reload configuration
bind-key -r r source-file ~/.tmux.conf

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#macOS
run '/opt/homebrew/opt/tpm/share/tpm/tpm'
# auto install and update plugins on tmux start
run '/opt/homebrew/opt/tpm/share/tpm/bin/install_plugins'

# linux
#run '~/.tmux/plugins/tpm/tpm'

Alacritty config:

import = [
  "~/.config/alacritty/catppuccin-mocha.toml"
]

[window]
decorations="Buttonless"

[font]
normal={ family = "JetBrainsMono Nerd Font", style = "Regular" }
size=16
@sgoudham sgoudham added the bug Something isn't working label Mar 6, 2024
@vdbe
Copy link
Collaborator

vdbe commented Mar 10, 2024

No idea how/why the color is not correct for the first split can't replicate it (tried tmux 3.4 with your alacritty config, but I am on linux).

For the pomodoro timer you need to use a module

@silentroach
Copy link

Have the same problem in OS X + WezTerm

Screenshot 2024-03-10 at 12 53 23

@vdbe
Copy link
Collaborator

vdbe commented Mar 10, 2024

That looks correct, with just 2 panes it's always half a line:

  • top/left half: pane right/below the split is active
  • bottom/right half: pane right/below the split is active
    it's the color that was wrong on the first split

@silentroach
Copy link

oh O.o ok, thanks

@sgoudham sgoudham changed the title Tmux Seperator broken on first pane split Tmux separator color of first split is white Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cant reproduce
Projects
None yet
Development

No branches or pull requests

4 participants