Skip to content

Commit c4c60b5

Browse files
authored
Revert "fix(window): middle separator colors (#369)" (#371)
This reverts commit c59df83.
1 parent 4c38d54 commit c4c60b5

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

catppuccin_tmux.conf

+12-16
Original file line numberDiff line numberDiff line change
@@ -190,26 +190,24 @@ set -ogqF @catppuccin_window_current_right_separator "#{@catppuccin_window_right
190190

191191
%else
192192

193-
# The number is the same between "all" and "number".
193+
# The left and middle separators are the same between "all" and "number".
194+
# The number is the same as well.
195+
set -g @_ctp_w_left \
196+
"#[fg=#{E:@catppuccin_window_default_background},bg=default]#{@catppuccin_window_left_separator}"
197+
set -g @_ctp_w_middle \
198+
"#[fg=#{E:@catppuccin_window_default_background},bg=#{E:@catppuccin_window_default_color}]#{@catppuccin_window_middle_separator}"
194199
set -g @_ctp_w_number \
195200
"#[fg=#{@thm_crust},bg=#{E:@catppuccin_window_default_background}]##I"
196201

197202
%if "#{==:#{@catppuccin_window_default_fill},all}"
198203

199-
set -g @_ctp_w_left \
200-
"#[fg=#{E:@catppuccin_window_default_background},bg=default]#{@catppuccin_window_left_separator}"
201-
# Inherit colors from text or number
202-
set -g @_ctp_w_middle \
203-
"#{@catppuccin_window_current_middle_separator}"
204204
set -g @_ctp_w_right \
205205
"#[fg=#{E:@catppuccin_window_default_background},bg=default]#{@catppuccin_window_right_separator}"
206206
set -g @_ctp_w_text \
207207
"#[fg=#{@thm_crust},bg=#{E:@catppuccin_window_default_background}]#{@catppuccin_window_default_text}"
208208

209209
%elif "#{==:#{@catppuccin_window_default_fill},number}"
210210

211-
set -g @_ctp_w_middle \
212-
"#[fg=#{E:@catppuccin_window_default_background},bg=#{E:@catppuccin_window_default_color}]#{@catppuccin_window_middle_separator}"
213211
set -g @_ctp_w_text \
214212
"#[fg=#{@thm_fg},bg=#{E:@catppuccin_window_default_color}]#{@catppuccin_window_default_text}"
215213

@@ -258,26 +256,24 @@ set -ogqF @catppuccin_window_current_right_separator "#{@catppuccin_window_right
258256

259257
%else
260258

261-
# The number is the same between "all" and "number".
259+
# The left and middle separators are the same between "all" and "number".
260+
# The number is the same as well.
261+
set -g @_ctp_w_left \
262+
"#[fg=#{E:@catppuccin_window_current_background},bg=default]#{@catppuccin_window_current_left_separator}"
263+
set -g @_ctp_w_middle \
264+
"#[fg=#{E:@catppuccin_window_current_background},bg=#{E:@catppuccin_window_current_color}]#{@catppuccin_window_current_middle_separator}"
262265
set -g @_ctp_w_number \
263266
"#[fg=#{@thm_crust},bg=#{E:@catppuccin_window_current_background}]##I"
264267

265268
%if "#{==:#{@catppuccin_window_current_fill},all}"
266269

267-
set -g @_ctp_w_left \
268-
"#[fg=#{E:@catppuccin_window_current_background},bg=default]#{@catppuccin_window_current_left_separator}"
269-
# Inherit colors from text or number
270-
set -g @_ctp_w_middle \
271-
"#{@catppuccin_window_current_middle_separator}"
272270
set -g @_ctp_w_right \
273271
"#[fg=#{E:@catppuccin_window_current_background},bg=default]#{@catppuccin_window_current_right_separator}"
274272
set -g @_ctp_w_text \
275273
"#[fg=#{@thm_crust},bg=#{E:@catppuccin_window_current_background}]#{@catppuccin_window_current_text}"
276274

277275
%elif "#{==:#{@catppuccin_window_current_fill},number}"
278276

279-
set -g @_ctp_w_middle \
280-
"#[fg=#{E:@catppuccin_window_current_background},bg=#{E:@catppuccin_window_current_color}]#{@catppuccin_window_current_middle_separator}"
281277
set -g @_ctp_w_text \
282278
"#[fg=#{@thm_fg},bg=#{E:@catppuccin_window_current_color}]#{@catppuccin_window_current_text}"
283279

0 commit comments

Comments
 (0)