tmux/2
This commit is contained in:
parent
b303ae8a3f
commit
0c64af1eab
1 changed files with 8 additions and 2 deletions
10
sh/tmux.sh
10
sh/tmux.sh
|
@ -40,8 +40,14 @@ set-option -g set-titles on
|
||||||
# status bar
|
# status bar
|
||||||
set-option -g status-bg black
|
set-option -g status-bg black
|
||||||
set-option -g status-fg gray
|
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}}'
|
set-option -g status-format[1] '\
|
||||||
set-option -g status-format[2] '#[fg=cyan]#{pane_current_path}#[align=right] #[fg=yellow]%Y-%m-%d %H:%M:%S'
|
#[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\
|
||||||
|
'
|
||||||
set-option -g status-interval 1
|
set-option -g status-interval 1
|
||||||
set-option -g status-position top
|
set-option -g status-position top
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue