From aad4907922e64fdd27f964aada258ca01d3abeea Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 1 Dec 2020 09:52:28 +0800 Subject: [PATCH] Tmux: update status bar --- tmux/.tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 680932e..73bb407 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -125,7 +125,7 @@ set-option -g status-justify centre # show session, windows, pane in left status bar set -g status-left-length 40 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 @@ -144,7 +144,7 @@ set -g status-style fg=green,bg=colour8 set -g message-style fg=black,bold,bg=colour8 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 "