tmux/lines
This commit is contained in:
parent
c8507eb520
commit
f0de127e46
1 changed files with 9 additions and 9 deletions
18
sh/tmux.sh
18
sh/tmux.sh
|
@ -84,8 +84,13 @@ set-option -g status-bg black
|
|||
# foreground color
|
||||
set-option -g status-fg gray
|
||||
|
||||
# first line
|
||||
# line 1
|
||||
set-option -g status-format[0] '\
|
||||
#[fg=cyan]#{pane_current_path}\
|
||||
'
|
||||
|
||||
# line 2
|
||||
set-option -g status-format[1] '\
|
||||
#{W:\
|
||||
#{?window_active,#[fg=green],\
|
||||
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
|
||||
|
@ -95,13 +100,13 @@ set-option -g status-format[0] '\
|
|||
\
|
||||
}\
|
||||
#[align=centre]\
|
||||
#[fg=blue]#{session_name}\
|
||||
#[fg=default]#{session_name}\
|
||||
#[align=right] \
|
||||
#[fg=yellow]%H:%M:%S\
|
||||
'
|
||||
|
||||
# second line
|
||||
set-option -g status-format[1] '\
|
||||
# line 3
|
||||
set-option -g status-format[2] '\
|
||||
#{P:\
|
||||
#{?pane_active,#[fg=green],#[fg=default]}\
|
||||
#{pane_index}\
|
||||
|
@ -115,11 +120,6 @@ set-option -g status-format[1] '\
|
|||
#[fg=yellow]%Y-%m-%d\
|
||||
'
|
||||
|
||||
# third line
|
||||
set-option -g status-format[2] '\
|
||||
#[fg=cyan]#{pane_current_path}\
|
||||
'
|
||||
|
||||
# refresh period
|
||||
set-option -g status-interval 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue