diff --git a/sh/tmux.sh b/sh/tmux.sh index 89c7d5c..43c0aa6 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -46,23 +46,27 @@ tmux / \ set-option -g status-bg black set-option -g status-fg gray set-option -g status-format[0] '\ -#[fg=yellow]#{session_name}\ -#{W: \ +#{W:\ #{?window_active,#[fg=green],\ #{?window_activity_flag,#[fg=red],#[fg=default]}}\ #{window_index} \ #{window_name}\ #{?window_flags, #{window_flags},}\ + \ }\ +#[align=center]\ +#[fg=yellow]#{session_name}\ #[align=right] \ #[fg=yellow]%Y-%m-%d\ ' set-option -g status-format[1] '\ -#[fg=blue]#{pane_width}×#{pane_height}\ -#{P: \ +#{P:\ #{?pane_active,#[fg=green],#[fg=default]}\ #{pane_index}\ + \ }\ +#[align=center]\ +#[fg=blue]#{pane_width}×#{pane_height}\ #[align=right] \ #[fg=yellow]%H:%M:%S\ '