Skip to content

Commit

Permalink
Added missing pane right separator setting (#336)
Browse files Browse the repository at this point in the history
* Added missing pane right separator setting

* Fixed test for pane_styling.sh script
  • Loading branch information
khsoh authored Oct 2, 2024
1 parent 26b8cec commit e51be90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions catppuccin_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set -wgF pane-border-style "#{E:@catppuccin_pane_border_style}"
set -g @_ctp_p_middle \
"#[fg=#{@thm_fg},bg=#{@thm_surface_0}]#{@catppuccin_pane_middle_separator}"
set -g @_ctp_p_right \
"#[fg=#{@thm_surface_0},bg=default]#{@catppuccin_pane_middle_separator}"
"#[fg=#{@thm_surface_0},bg=default]#{@catppuccin_pane_right_separator}"

set -g @_ctp_p_number \
"#[fg=#{@thm_fg},bg=#{@thm_surface_0}]##{pane_index}"
Expand All @@ -71,9 +71,9 @@ set -wgF pane-border-style "#{E:@catppuccin_pane_border_style}"
set -g @_ctp_p_left \
"#[fg=#{E:@catppuccin_pane_color},bg=default]#{@catppuccin_pane_left_separator}"
set -g @_ctp_p_middle \
"#[fg=#{E:@catppuccin_pane_background_color},bg=#{E:@catppuccin_pane_color}]#{@catppuccin_pane_middle_separator}"
"#[fg=#{E:@catppuccin_pane_color},bg=#{E:@catppuccin_pane_background_color}]#{@catppuccin_pane_middle_separator}"
set -g @_ctp_p_right \
"#[fg=#{E:@catppuccin_pane_color},bg=default]#{@catppuccin_pane_middle_separator}"
"#[fg=#{E:@catppuccin_pane_color},bg=default]#{@catppuccin_pane_right_separator}"

set -g @_ctp_p_number \
"#[fg=#{E:@catppuccin_pane_background_color},bg=#{E:@catppuccin_pane_color}]##{pane_index}"
Expand Down Expand Up @@ -213,7 +213,7 @@ set -ogqF @catppuccin_window_current_right_separator "#{@catppuccin_window_right
"#[fg=#{E:@catppuccin_window_default_background},bg=default]#{@catppuccin_window_left_separator}"
set -g @_ctp_w_right \
"#[fg=#{E:@catppuccin_window_default_color},bg=default]#{@catppuccin_window_right_separator}"

%else
set -g @_ctp_w_left \
"#[fg=#{E:@catppuccin_window_default_color},bg=default]#{@catppuccin_window_left_separator}"
Expand Down Expand Up @@ -279,7 +279,7 @@ set -ogqF @catppuccin_window_current_right_separator "#{@catppuccin_window_right
"#[fg=#{E:@catppuccin_window_current_background},bg=default]#{@catppuccin_window_current_left_separator}"
set -g @_ctp_w_right \
"#[fg=#{E:@catppuccin_window_current_color},bg=default]#{@catppuccin_window_current_right_separator}"

%else
set -g @_ctp_w_left \
"#[fg=#{E:@catppuccin_window_current_color},bg=default]#{@catppuccin_window_current_left_separator}"
Expand Down
2 changes: 1 addition & 1 deletion tests/pane_styling_expected.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pane-border-format #[fg=#a6e3a1,bg=default]β–ˆ#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#a6e3a1,bg=#313244]β–ˆ #[fg=#a6e3a1,bg=#313244]#{b:pane_current_path}#[fg=#313244,bg=default]β–ˆ
pane-border-format #[fg=#313244,bg=default]β–ˆ#[fg=#a6e3a1,bg=#313244]#{b:pane_current_path} #[fg=#a6e3a1,bg=#313244]β–ˆ#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#a6e3a1,bg=default]β–ˆ
pane-border-format #[fg=#a6e3a1,bg=default]β–ˆ#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#313244,bg=#a6e3a1]β–ˆ #[fg=#313244,bg=#a6e3a1]#{b:pane_current_path}#[fg=#a6e3a1,bg=default]β–ˆ
pane-border-format #[fg=#a6e3a1,bg=default]β–ˆ#[fg=#313244,bg=#a6e3a1]#{pane_index}#[fg=#a6e3a1,bg=#313244]β–ˆ #[fg=#313244,bg=#a6e3a1]#{b:pane_current_path}#[fg=#a6e3a1,bg=default]β–ˆ
pane-border-format #[fg=#313244,bg=default]β–ˆ#[fg=#cdd6f4,bg=#313244]#{pane_index}#[fg=#cdd6f4,bg=#313244]β–ˆ #[fg=#cdd6f4,bg=#313244]#{b:pane_current_path}#[fg=#313244,bg=default]β–ˆ

0 comments on commit e51be90

Please sign in to comment.