diff --git a/sh/tmux.sh b/sh/tmux.sh index 291ddf3..bcc8a0a 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -94,21 +94,6 @@ set-option -g status-format[0] '\ # line 2 set-option -g status-format[1] '\ -#{P:\ -#{?pane_active,#[fg=green],#[fg=default]}\ - \ -#{pane_index}\ - \ -#{pane_current_command}\ - \ -}\ - \ -#[align=right]\ -#[fg=yellow]%Y-%m-%d\ -' - -# line 3 -set-option -g status-format[2] '\ #{W:\ #{?window_active,#[fg=green],\ #{?window_activity_flag,#[fg=red],#[fg=default]}}\ @@ -124,6 +109,21 @@ set-option -g status-format[2] '\ #[fg=default] #(tmux list-sessions | wc --lines) \ ' +# line 3 +set-option -g status-format[2] '\ +#{P:\ +#{?pane_active,#[fg=green],#[fg=default]}\ + \ +#{pane_index}\ + \ +#{pane_current_command}\ + \ +}\ + \ +#[align=right]\ +#[fg=yellow]%Y-%m-%d\ +' + # line 4 set-option -g status-format[3] '\ #[align=centre]\