diff --git a/sh/tmux.sh b/sh/tmux.sh index 9049e7f..fc782ef 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -86,14 +86,6 @@ set-option -g status-fg white # line 1 set-option -g status-format[0] '\ -#[fg=cyan]#{pane_current_path}\ - \ -#[align=right]\ -#[fg=yellow]%H:%M:%S\ -' - -# line 2 -set-option -g status-format[1] '\ #{W:\ #[fg=yellow]#{window_index}\ \ @@ -103,11 +95,11 @@ set-option -g status-format[1] '\ \ }\ #[align=right]\ -#[fg=yellow]%Y-%m-%d\ +#[fg=yellow]%H:%M:%S\ ' -# line 3 -set-option -g status-format[2] '\ +# line 2 +set-option -g status-format[1] '\ #[fg=yellow]#(tmux list-sessions | wc --lines) \ #{S:\ \ @@ -118,6 +110,13 @@ set-option -g status-format[2] '\ }\ #[fg=green] #{session_name} \ #[align=right]\ +#[fg=yellow]%Y-%m-%d\ +' + +# line 3 +set-option -g status-format[2] '\ +#[fg=cyan]#{pane_current_path}\ +#[align=right]\ #[fg=yellow]#{host}\ '