Skip to content

Commit

Permalink
fix: specify the color for right separator of the status modules to b…
Browse files Browse the repository at this point in the history
…e the same as text bg color (#429)

* fix: specify the color for right separator to be the same as text bg color and fix space among windows

* Use a space instead of a vertical block char

---------

Co-authored-by: Kaley Main <[email protected]>
  • Loading branch information
xafarr and kjnsn authored Nov 17, 2024
1 parent eb78ade commit 0e66dee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion catppuccin_options_tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@cat
# Status line options
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 tests/application_module_expected.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@catppuccin_status_application #[fg=#eba0ac]#[fg=#11111b,bg=#eba0ac] #[fg=#cdd6f4,bg=#313244]#{E:@catppuccin_application_text}#[reverse]█#[noreverse]
@catppuccin_status_application #[fg=#eba0ac]#[fg=#11111b,bg=#eba0ac] #[fg=#cdd6f4,bg=#313244]#{E:@catppuccin_application_text}#[fg=#313244]
2 changes: 1 addition & 1 deletion tests/battery_module_expected.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@catppuccin_status_battery #[fg=#b4befe]#[fg=#11111b,bg=#b4befe]#{l:#{battery_icon}} #[fg=#cdd6f4,bg=#313244]#{E:@catppuccin_battery_text}#[reverse]█#[noreverse]
@catppuccin_status_battery #[fg=#b4befe]#[fg=#11111b,bg=#b4befe]#{l:#{battery_icon}} #[fg=#cdd6f4,bg=#313244]#{E:@catppuccin_battery_text}#[fg=#313244]
2 changes: 1 addition & 1 deletion tests/cpu_module_expected.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
E:@catppuccin_status_cpu #[fg=#f9e2af]#[fg=#11111b,bg=#f9e2af] #[fg=#{cpu_fg_color},bg=#{cpu_bg_color}] #{cpu_percentage}#[reverse]█#[noreverse]
E:@catppuccin_status_cpu #[fg=#f9e2af]#[fg=#11111b,bg=#f9e2af] #[fg=#{cpu_fg_color},bg=#{cpu_bg_color}] #{cpu_percentage}#[fg=#{cpu_bg_color}]
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 0e66dee

Please sign in to comment.