From 175fe81f90d5587822ea3e36d2ad3c6019a0fa4f Mon Sep 17 00:00:00 2001 From: Tomas Mirchev Date: Mon, 15 Sep 2025 08:46:08 +0300 Subject: [PATCH] add tmux custom title --- config/linux-vm/tmux | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/config/linux-vm/tmux b/config/linux-vm/tmux index 038aae4..d10286f 100644 --- a/config/linux-vm/tmux +++ b/config/linux-vm/tmux @@ -1,7 +1,7 @@ # Change the prefix from 'C-b' to 'C-Space' unbind C-b -set-option -g prefix C-f -bind-key C-f send-prefix +set-option -g prefix C-Space +bind-key C-Space send-prefix set-option -g set-clipboard on @@ -19,20 +19,24 @@ setw -g pane-base-index 1 # Increase scrollback buffer size set -g history-limit 10000 -# Customize the status bar -set -g status-style bg=default,fg=white -set -g status-left '#[fg=cyan,bold][#S] ' +# Customize the status bar for Catppuccin Latte +set -g status-style bg=default,fg='#4c4f69' # Catppuccin Latte text color +set -g status-left '#[fg=#1e66f5,bold][#S] ' # Catppuccin Latte blue for session set -g status-left-length 50 set -g status-right '' -# Window status format -setw -g window-status-format '#[fg=white,dim]#I#[fg=grey]:#[fg=white]#W#[fg=grey]#F' -setw -g window-status-current-format '#[fg=cyan,bold]#I#[fg=blue]:#[fg=cyan]#W#[fg=grey]#F' +# Optional: Style the window tabs to match +set -g window-status-current-style 'fg=#4c4f69,bold' # Active window - dark text, bold +set -g window-status-style 'fg=#6c6f85' # Inactive windows - lighter text +set -g window-status-separator ' | ' # Clean separator -# Pane border -set -g pane-border-style fg=colour240 -set -g pane-active-border-style fg=cyan +# Optional: Style the borders to match (if you use pane borders) +set -g pane-border-style 'fg=#ccd0da' # Light border for inactive panes +set -g pane-active-border-style 'fg=#1e66f5' # Blue border for active pane +set -g status-left-length 20 +set -g status-right-length 20 +set -g pane-border-format "" # Message text set -g message-style bg=default,fg=cyan @@ -45,6 +49,7 @@ bind-key -T copy-mode-vi WheelDownPane send -N1 -X scroll-down # Update terminal titles set-option -g set-titles on +set-option -g set-titles-string "#S" # Use vim keybindings in copy mode setw -g mode-keys vi