tmux/→
This commit is contained in:
parent
e55847358d
commit
df3f5a6a28
1 changed files with 5 additions and 9 deletions
14
sh/tmux.sh
14
sh/tmux.sh
|
@ -95,13 +95,12 @@ set-option -g status-format[0] '\
|
|||
# line 2
|
||||
set-option -g status-format[1] '\
|
||||
#{W:\
|
||||
\
|
||||
#[fg=yellow]#{window_index}\
|
||||
\
|
||||
#{?window_active,#[fg=green],\
|
||||
#{?window_activity_flag,#[fg=red],#[fg=blue]}}\
|
||||
#{window_name}\
|
||||
\
|
||||
\
|
||||
}\
|
||||
#[align=right]\
|
||||
#[fg=yellow]%Y-%m-%d\
|
||||
|
@ -109,14 +108,13 @@ set-option -g status-format[1] '\
|
|||
|
||||
# line 3
|
||||
set-option -g status-format[2] '\
|
||||
#[fg=green] #{session_name} \
|
||||
#{S:\
|
||||
\
|
||||
#{?session_many_attached,#[fg=red],\
|
||||
#{?session_attached,#[fg=cyan],#[fg=blue]}}\
|
||||
#{session_name}\
|
||||
\
|
||||
\
|
||||
}\
|
||||
#[fg=green]→ #{session_name}\
|
||||
#[align=right]\
|
||||
#[fg=yellow]#{host}\
|
||||
'
|
||||
|
@ -124,12 +122,11 @@ set-option -g status-format[2] '\
|
|||
# line 4
|
||||
set-option -g status-format[3] '\
|
||||
#{P:\
|
||||
\
|
||||
#[fg=yellow]#{pane_index}\
|
||||
\
|
||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
||||
#{pane_current_command}\
|
||||
\
|
||||
\
|
||||
}\
|
||||
#[align=right]\
|
||||
#{?uid,#[fg=green],#[fg=red]}\
|
||||
|
@ -139,12 +136,11 @@ set-option -g status-format[3] '\
|
|||
# line 5
|
||||
set-option -g status-format[4] '\
|
||||
#{P:\
|
||||
\
|
||||
#[fg=yellow]#{pane_index}\
|
||||
\
|
||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
||||
#{pane_width}×#{pane_height}\
|
||||
\
|
||||
\
|
||||
}\
|
||||
#[align=right]\
|
||||
#[fg=blue] #{window_width}×#{window_height}\
|
||||
|
|
Loading…
Reference in a new issue