Skip to content

Commit b122c88

Browse files
committed
feat(tmux): adapt window separators to transparent background
Add custom window separators with improved color handling and current window indicators. Set status background to none for cleaner look.
1 parent 99b6ff5 commit b122c88

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dot_config/tmux/tmux.conf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,21 @@ bind '"' split-window -v -c "#{pane_current_path}"
5555

5656
# Configure catppuccin plugin
5757
set -g @catppuccin_flavor "mocha"
58+
set -g @catppuccin_status_background "none"
5859
set -g @catppuccin_window_status_style "custom"
59-
set -g @catppuccin_window_left_separator "#[fg=#{@_ctp_status_bg},reverse]█#[none]"
60+
set -g @catppuccin_window_left_separator "#[bg=default,fg=#{@catppuccin_window_number_color}]█#[bg=#{@catppuccin_window_number_color},fg=#{@catppuccin_window_text_color}]"
61+
set -g @catppuccin_window_current_left_separator "#[bg=default,fg=#{@catppuccin_window_current_number_color}]█#[bg=#{@catppuccin_window_current_number_color},fg=#{@catppuccin_window_current_text_color}]"
6062
set -g @catppuccin_window_middle_separator " "
61-
set -g @catppuccin_window_right_separator "#[fg=#{@_ctp_status_bg},reverse]#[none]"
63+
set -g @catppuccin_window_right_separator "#[bg=default,fg=#{@catppuccin_window_text_color}]#[none]"
64+
set -g @catppuccin_window_current_right_separator "#[bg=default,fg=#{@catppuccin_window_current_text_color}]#[none]"
6265
set -g @catppuccin_window_text " #W"
6366
set -g @catppuccin_window_current_text " #W"
6467

6568
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
6669

67-
set -g status-right-length 100
6870
set -g status-left-length 100
6971
set -g status-left ""
72+
set -g status-right-length 100
7073
set -g status-right "#{E:@catppuccin_status_host}"
7174
set -ag status-right "#{E:@catppuccin_status_session}"
7275
set -ag status-right "#{E:@catppuccin_status_uptime}"

0 commit comments

Comments
 (0)