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
|
# line 2
|
||||||
set-option -g status-format[1] '\
|
set-option -g status-format[1] '\
|
||||||
#{W:\
|
#{W:\
|
||||||
\
|
|
||||||
#[fg=yellow]#{window_index}\
|
#[fg=yellow]#{window_index}\
|
||||||
\
|
\
|
||||||
#{?window_active,#[fg=green],\
|
#{?window_active,#[fg=green],\
|
||||||
#{?window_activity_flag,#[fg=red],#[fg=blue]}}\
|
#{?window_activity_flag,#[fg=red],#[fg=blue]}}\
|
||||||
#{window_name}\
|
#{window_name}\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=yellow]%Y-%m-%d\
|
#[fg=yellow]%Y-%m-%d\
|
||||||
|
@ -109,14 +108,13 @@ set-option -g status-format[1] '\
|
||||||
|
|
||||||
# line 3
|
# line 3
|
||||||
set-option -g status-format[2] '\
|
set-option -g status-format[2] '\
|
||||||
#[fg=green] #{session_name} \
|
|
||||||
#{S:\
|
#{S:\
|
||||||
\
|
|
||||||
#{?session_many_attached,#[fg=red],\
|
#{?session_many_attached,#[fg=red],\
|
||||||
#{?session_attached,#[fg=cyan],#[fg=blue]}}\
|
#{?session_attached,#[fg=cyan],#[fg=blue]}}\
|
||||||
#{session_name}\
|
#{session_name}\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
|
#[fg=green]→ #{session_name}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=yellow]#{host}\
|
#[fg=yellow]#{host}\
|
||||||
'
|
'
|
||||||
|
@ -124,12 +122,11 @@ set-option -g status-format[2] '\
|
||||||
# line 4
|
# line 4
|
||||||
set-option -g status-format[3] '\
|
set-option -g status-format[3] '\
|
||||||
#{P:\
|
#{P:\
|
||||||
\
|
|
||||||
#[fg=yellow]#{pane_index}\
|
#[fg=yellow]#{pane_index}\
|
||||||
\
|
\
|
||||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
#{?pane_active,#[fg=green],#[fg=blue]}\
|
||||||
#{pane_current_command}\
|
#{pane_current_command}\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#{?uid,#[fg=green],#[fg=red]}\
|
#{?uid,#[fg=green],#[fg=red]}\
|
||||||
|
@ -139,12 +136,11 @@ set-option -g status-format[3] '\
|
||||||
# line 5
|
# line 5
|
||||||
set-option -g status-format[4] '\
|
set-option -g status-format[4] '\
|
||||||
#{P:\
|
#{P:\
|
||||||
\
|
|
||||||
#[fg=yellow]#{pane_index}\
|
#[fg=yellow]#{pane_index}\
|
||||||
\
|
\
|
||||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
#{?pane_active,#[fg=green],#[fg=blue]}\
|
||||||
#{pane_width}×#{pane_height}\
|
#{pane_width}×#{pane_height}\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=blue] #{window_width}×#{window_height}\
|
#[fg=blue] #{window_width}×#{window_height}\
|
||||||
|
|
Loading…
Reference in a new issue