tmux/↕
This commit is contained in:
parent
a416f6d958
commit
731f2088a8
1 changed files with 28 additions and 28 deletions
56
sh/tmux.sh
56
sh/tmux.sh
|
@ -110,34 +110,6 @@ set-option -g status-format[1] '\
|
||||||
|
|
||||||
# line 3
|
# line 3
|
||||||
set-option -g status-format[2] '\
|
set-option -g status-format[2] '\
|
||||||
#{P:\
|
|
||||||
\
|
|
||||||
#[fg=yellow]#{pane_index}\
|
|
||||||
\
|
|
||||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
|
||||||
#{pane_current_command}\
|
|
||||||
\
|
|
||||||
}\
|
|
||||||
#[align=right]\
|
|
||||||
#[fg=yellow]%Y-%m-%d\
|
|
||||||
'
|
|
||||||
|
|
||||||
# line 4
|
|
||||||
set-option -g status-format[3] '\
|
|
||||||
#{P:\
|
|
||||||
\
|
|
||||||
#[fg=yellow]#{pane_index}\
|
|
||||||
\
|
|
||||||
#{?pane_active,#[fg=green],#[fg=blue]}\
|
|
||||||
#{pane_width}×#{pane_height}\
|
|
||||||
\
|
|
||||||
}\
|
|
||||||
#[align=right]\
|
|
||||||
#[fg=blue] #{window_width}×#{window_height}\
|
|
||||||
'
|
|
||||||
|
|
||||||
# line 5
|
|
||||||
set-option -g status-format[4] '\
|
|
||||||
#{S:\
|
#{S:\
|
||||||
\
|
\
|
||||||
#[fg=yellow]#{s/\\\$//:session_id}\
|
#[fg=yellow]#{s/\\\$//:session_id}\
|
||||||
|
@ -152,6 +124,34 @@ set-option -g status-format[4] '\
|
||||||
#[fg=yellow]#{host}\
|
#[fg=yellow]#{host}\
|
||||||
'
|
'
|
||||||
|
|
||||||
|
# line 4
|
||||||
|
set-option -g status-format[3] '\
|
||||||
|
#{P:\
|
||||||
|
\
|
||||||
|
#[fg=yellow]#{pane_index}\
|
||||||
|
\
|
||||||
|
#{?pane_active,#[fg=green],#[fg=blue]}\
|
||||||
|
#{pane_current_command}\
|
||||||
|
\
|
||||||
|
}\
|
||||||
|
#[align=right]\
|
||||||
|
#[fg=yellow]%Y-%m-%d\
|
||||||
|
'
|
||||||
|
|
||||||
|
# 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}\
|
||||||
|
'
|
||||||
|
|
||||||
# refresh period
|
# refresh period
|
||||||
set-option -g status-interval 1
|
set-option -g status-interval 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue