From dccd7c6a258242775822f564f0567bdf934083ee Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Wed, 28 Oct 2026 11:57:16 +0100 Subject: tmux: use white block to separate tabs (also after the last tab) --- tmux/tmux.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 54da172..6183fda 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -30,11 +30,12 @@ bind-key l select-pane -R set-option -g focus-events on # no space between tabs -set-window-option -g window-status-separator '█' +WHITE_BLOCK='#[fg=brightwhite]█#[default]' +set-window-option -g window-status-separator $WHITE_BLOCK # paints the tab yellow when in select/scroll mode -set-window-option -g window-status-format '#{?pane_in_mode,#[bg=brightyellow],} #I:#W#{?#{m:*Z*,#{window_flags}},[Z]} #[default]' +set-window-option -g window-status-format "#{?pane_in_mode,#[bg=brightyellow],} #I:#W#{?#{m:*Z*,#{window_flags}},[Z]} #[default]#{?window_end_flag,$WHITE_BLOCK,}" # paints selected tab white (unless in scroll mode) -set-window-option -g window-status-current-format '#[bg=brightwhite]#{?pane_in_mode,#[bg=brightyellow],} #I:#W#{?#{m:*Z*,#{window_flags}},[Z]} #[default]' +set-window-option -g window-status-current-format "#[bg=brightwhite]#{?pane_in_mode,#[bg=brightyellow],} #I:#W#{?#{m:*Z*,#{window_flags}},[Z]} #[default]#{?window_end_flag,$WHITE_BLOCK,}" # open pane splits at the same path as current pane bind '"' split-window -v -c "#{pane_current_path}" @@ -43,7 +44,7 @@ bind % split-window -h -c "#{pane_current_path}" # bind "c" new-window -c "#{pane_current_path}" # default but with no space on the right -set-window-option -g status-left '[#S] █' +set-window-option -g status-left "[#S] $WHITE_BLOCK" # time and battery status set-window-option -g status-right '#[bg=brightwhite] %H:%M #[default]#($HOME/.config/tmux/battery.sh)' # update each second -- cgit v1.3.1