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
|
# foreground color
|
||||||
set-option -g status-fg gray
|
set-option -g status-fg gray
|
||||||
|
|
||||||
# first line
|
# line 1
|
||||||
set-option -g status-format[0] '\
|
set-option -g status-format[0] '\
|
||||||
|
#[fg=cyan]#{pane_current_path}\
|
||||||
|
'
|
||||||
|
|
||||||
|
# line 2
|
||||||
|
set-option -g status-format[1] '\
|
||||||
#{W:\
|
#{W:\
|
||||||
#{?window_active,#[fg=green],\
|
#{?window_active,#[fg=green],\
|
||||||
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
|
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
|
||||||
|
@ -95,13 +100,13 @@ set-option -g status-format[0] '\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
#[align=centre]\
|
#[align=centre]\
|
||||||
#[fg=blue]#{session_name}\
|
#[fg=default]#{session_name}\
|
||||||
#[align=right] \
|
#[align=right] \
|
||||||
#[fg=yellow]%H:%M:%S\
|
#[fg=yellow]%H:%M:%S\
|
||||||
'
|
'
|
||||||
|
|
||||||
# second line
|
# line 3
|
||||||
set-option -g status-format[1] '\
|
set-option -g status-format[2] '\
|
||||||
#{P:\
|
#{P:\
|
||||||
#{?pane_active,#[fg=green],#[fg=default]}\
|
#{?pane_active,#[fg=green],#[fg=default]}\
|
||||||
#{pane_index}\
|
#{pane_index}\
|
||||||
|
@ -115,11 +120,6 @@ set-option -g status-format[1] '\
|
||||||
#[fg=yellow]%Y-%m-%d\
|
#[fg=yellow]%Y-%m-%d\
|
||||||
'
|
'
|
||||||
|
|
||||||
# third line
|
|
||||||
set-option -g status-format[2] '\
|
|
||||||
#[fg=cyan]#{pane_current_path}\
|
|
||||||
'
|
|
||||||
|
|
||||||
# refresh period
|
# refresh period
|
||||||
set-option -g status-interval 1
|
set-option -g status-interval 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue