Skip to content

Commit

Permalink
fix: specify the color for right separator to be the same as text bg …
Browse files Browse the repository at this point in the history
…color and fix space among windows
  • Loading branch information
xafarr committed Nov 10, 2024
1 parent aaf9120 commit a980530
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions catppuccin_options_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ set -ogq @catppuccin_window_flags_icon_bell " 󰂞" # !
set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},}"

# Status line options
set -ogq @catppuccin_status_left_separator ""
set -ogq @catppuccin_status_left_separator " "
set -ogq @catppuccin_status_middle_separator ""
set -ogq @catppuccin_status_right_separator "#[reverse]█#[noreverse]"
set -ogq @catppuccin_status_right_separator ""
set -ogq @catppuccin_status_connect_separator "yes" # yes, no

# Maintain backwards compatibility. Use @catppuccin_status_module_bg_color if it is set.
Expand Down
2 changes: 1 addition & 1 deletion catppuccin_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ set -wgF pane-border-style "#{E:@catppuccin_pane_border_style}"

%elif "#{==:#{@catppuccin_window_status_style},rounded}"

set -gq @catppuccin_window_left_separator "#[fg=#{@_ctp_status_bg},reverse]#[none]"
set -gq @catppuccin_window_left_separator "#[fg=#{@_ctp_status_bg},reverse] #[none]"
set -gq @catppuccin_window_middle_separator " "
set -gq @catppuccin_window_right_separator "#[fg=#{@_ctp_status_bg},reverse]#[none]"

Expand Down
2 changes: 1 addition & 1 deletion utils/status_module.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ set -agF "@catppuccin_status_${MODULE_NAME}" \

set -ag "@catppuccin_status_${MODULE_NAME}" "#{E:@catppuccin_${MODULE_NAME}_text}"

set -agF "@catppuccin_status_${MODULE_NAME}" "#{@_ctp_connect_style}#{@catppuccin_status_right_separator}"
set -agF "@catppuccin_status_${MODULE_NAME}" "#[fg=#{@_ctp_module_text_bg}]#{@_ctp_connect_style}#{@catppuccin_status_right_separator}"

set -ug @_ctp_connect_style
set -ug @_ctp_module_text_bg

0 comments on commit a980530

Please sign in to comment.