diff --git a/sh/tmux.sh b/sh/tmux.sh index 53d0e56..93b97df 100644 --- a/sh/tmux.sh +++ b/sh/tmux.sh @@ -109,19 +109,16 @@ set-option -g status-format[1] '\ # line 3 set-option -g status-format[2] '\ +#[fg=green] #{session_name} \ #{S:\ \ -#[fg=yellow]#{s/\\\$//:session_id}\ - \ #{?session_many_attached,#[fg=red],\ #{?session_attached,#[fg=cyan],#[fg=blue]}}\ #{session_name}\ \ }\ #[align=right]\ -#[fg=yellow]#{s/\\\$//:session_id}\ - \ -#[fg=green]#{session_name}\ +#[fg=yellow]#{host}\ ' # line 4 @@ -135,7 +132,8 @@ set-option -g status-format[3] '\ \ }\ #[align=right]\ -#[fg=yellow]#{host_short}\ +#{?uid,#[fg=green],#[fg=red]}\ +#{user}\ ' # line 5