Browse Source

Tmux: update status bar

ubuntu_ci
Ein Verne 4 years ago
parent
commit
aad4907922
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 4
      tmux/.tmux.conf

4
tmux/.tmux.conf

@ -125,7 +125,7 @@ set-option -g status-justify centre
# show session, windows, pane in left status bar # show session, windows, pane in left status bar
set -g status-left-length 40 set -g status-left-length 40
set -g status-left-style bg=colour233,fg=colour243 set -g status-left-style bg=colour233,fg=colour243
set -g status-left '#[fg=colour233,bg=colour241,bold] #[fg=colour233,bg=colour245,bold] #I/#[fg=colour233,bg=colour245,bold]#P ' set -g status-left '#[fg=colour233,bg=colour241,bold] #[fg=colour233,bg=colour245,bold]#S #I/#[fg=colour233,bg=colour245,bold]#P '
# fiddle with colors of inactive windows # fiddle with colors of inactive windows
@ -144,7 +144,7 @@ set -g status-style fg=green,bg=colour8
set -g message-style fg=black,bold,bg=colour8 set -g message-style fg=black,bold,bg=colour8
set -g status-right-length 50 set -g status-right-length 50
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S ' set -g status-right '#[fg=colour233,bg=colour241,bold] %m/%d #[fg=colour233,bg=colour245,bold] %H:%M:%S '
# 设置当前窗口格式及颜色 # 设置当前窗口格式及颜色
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W " setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "

Loading…
Cancel
Save