tmux/1
This commit is contained in:
parent
0c64af1eab
commit
f0f0bb5bc9
1 changed files with 15 additions and 3 deletions
18
sh/tmux.sh
18
sh/tmux.sh
|
@ -41,12 +41,24 @@ set-option -g set-titles on
|
|||
set-option -g status-bg black
|
||||
set-option -g status-fg gray
|
||||
set-option -g status-format[1] '\
|
||||
#[fg=yellow]#{session_name}#{W: #{?window_active,#[fg=green],#[fg=default]}#{window_index}#{?window_flags,#{window_flags}, } #{window_name}}#[align=right] #[fg=blue]#{pane_width}×#{pane_height}#{P: #{?pane_active,#[fg=green],#[fg=default]}#{pane_index}}\
|
||||
#[fg=yellow]#{session_name}\
|
||||
#{W: \
|
||||
#{?window_active,#[fg=green],#[fg=default]}\
|
||||
#{window_index}\
|
||||
#{?window_flags,#{window_flags}, } \
|
||||
#{window_name}\
|
||||
}\
|
||||
#[align=right] \
|
||||
#[fg=blue]#{pane_width}×#{pane_height}\
|
||||
#{P: \
|
||||
#{?pane_active,#[fg=green],#[fg=default]}\
|
||||
#{pane_index}\
|
||||
}\
|
||||
'
|
||||
set-option -g status-format[2] '\
|
||||
#[fg=cyan]#{pane_current_path}\
|
||||
#[align=right]\
|
||||
#[fg=yellow]%Y-%m-%d %H:%M:%S\
|
||||
#[align=right] \
|
||||
#[fg=yellow]%Y-%m-%d %H:%M:%S\
|
||||
'
|
||||
set-option -g status-interval 1
|
||||
set-option -g status-position top
|
||||
|
|
Loading…
Reference in a new issue