tmux: customise/style status bar

This commit is contained in:
thomasabishop 2024-02-02 09:39:57 +00:00
parent aeaa7cc040
commit a1bc975e5b

View file

@ -1,12 +1,20 @@
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
set -ga terminal-overrides ",*256col*:Tc" #set -ga terminal-overrides ",*256col*:Tc"
set -g terminal-overrides ",alacritty:Tc" set -g terminal-overrides ",alacritty:Tc"
set-option -g status-position top set-option -g status-position top
set -goq @powerline-color-main-1 "#61AFEF" set -goq @powerline-color-main-1 "#61AFEF"
set -g status-justify centre
set -goq @powerline-color-grey-1 "#32363e" set -goq @powerline-color-grey-1 "#32363e"
set -g window-status-current-style 'bg=colour2,fg=#000000'
set-option -g status-left " Session #S (#{window_index} windows) "
set -g status-right 'tmux '
set -g window-status-format " #I:#W "
set -g window-status-current-format " #I:#W "
set -g status-bg colour8
set -g status-fg colour7
# Split panes with \ and - # Split panes with \ and -
bind \\ split-window -h -c "#{pane_current_path}" bind \\ split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}" bind - split-window -v -c "#{pane_current_path}"