add tmux custom title

This commit is contained in:
Tomas Mirchev 2025-09-15 08:46:08 +03:00
parent 490f6380c9
commit 32258d3b7f

View File

@ -19,20 +19,24 @@ setw -g pane-base-index 1
# Increase scrollback buffer size # Increase scrollback buffer size
set -g history-limit 10000 set -g history-limit 10000
# Customize the status bar # Customize the status bar for Catppuccin Latte
set -g status-style bg=default,fg=white set -g status-style bg=default,fg='#4c4f69' # Catppuccin Latte text color
set -g status-left '#[fg=cyan,bold][#S] ' set -g status-left '#[fg=#1e66f5,bold][#S] ' # Catppuccin Latte blue for session
set -g status-left-length 50 set -g status-left-length 50
set -g status-right '' set -g status-right ''
# Window status format # Optional: Style the window tabs to match
setw -g window-status-format '#[fg=white,dim]#I#[fg=grey]:#[fg=white]#W#[fg=grey]#F' set -g window-status-current-style 'fg=#4c4f69,bold' # Active window - dark text, bold
setw -g window-status-current-format '#[fg=cyan,bold]#I#[fg=blue]:#[fg=cyan]#W#[fg=grey]#F' set -g window-status-style 'fg=#6c6f85' # Inactive windows - lighter text
set -g window-status-separator ' | ' # Clean separator
# Pane border # Optional: Style the borders to match (if you use pane borders)
set -g pane-border-style fg=colour240 set -g pane-border-style 'fg=#ccd0da' # Light border for inactive panes
set -g pane-active-border-style fg=cyan 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 # Message text
set -g message-style bg=default,fg=cyan 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 # Update terminal titles
set-option -g set-titles on set-option -g set-titles on
set-option -g set-titles-string "#S"
# Use vim keybindings in copy mode # Use vim keybindings in copy mode
setw -g mode-keys vi setw -g mode-keys vi