From e51be90bbe8810a4ac00dcaa6bed81c2cabd49e5 Mon Sep 17 00:00:00 2001 From: KH Soh Date: Wed, 2 Oct 2024 08:26:44 +0800 Subject: [PATCH] Added missing pane right separator setting (#336) * Added missing pane right separator setting * Fixed test for pane_styling.sh script --- catppuccin_tmux.conf | 10 +++++----- tests/pane_styling_expected.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catppuccin_tmux.conf b/catppuccin_tmux.conf index a9650fef..7d277011 100644 --- a/catppuccin_tmux.conf +++ b/catppuccin_tmux.conf @@ -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}" @@ -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}" @@ -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}" @@ -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}" diff --git a/tests/pane_styling_expected.txt b/tests/pane_styling_expected.txt index dfdac504..d57e36f0 100644 --- a/tests/pane_styling_expected.txt +++ b/tests/pane_styling_expected.txt @@ -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]█