tmux/align
This commit is contained in:
parent
73e94d28ac
commit
083b68ab25
1 changed files with 8 additions and 4 deletions
12
sh/tmux.sh
12
sh/tmux.sh
|
@ -46,23 +46,27 @@ tmux / \
|
||||||
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[0] '\
|
set-option -g status-format[0] '\
|
||||||
#[fg=yellow]#{session_name}\
|
#{W:\
|
||||||
#{W: \
|
|
||||||
#{?window_active,#[fg=green],\
|
#{?window_active,#[fg=green],\
|
||||||
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
|
#{?window_activity_flag,#[fg=red],#[fg=default]}}\
|
||||||
#{window_index} \
|
#{window_index} \
|
||||||
#{window_name}\
|
#{window_name}\
|
||||||
#{?window_flags, #{window_flags},}\
|
#{?window_flags, #{window_flags},}\
|
||||||
|
\
|
||||||
}\
|
}\
|
||||||
|
#[align=center]\
|
||||||
|
#[fg=yellow]#{session_name}\
|
||||||
#[align=right] \
|
#[align=right] \
|
||||||
#[fg=yellow]%Y-%m-%d\
|
#[fg=yellow]%Y-%m-%d\
|
||||||
'
|
'
|
||||||
set-option -g status-format[1] '\
|
set-option -g status-format[1] '\
|
||||||
#[fg=blue]#{pane_width}×#{pane_height}\
|
#{P:\
|
||||||
#{P: \
|
|
||||||
#{?pane_active,#[fg=green],#[fg=default]}\
|
#{?pane_active,#[fg=green],#[fg=default]}\
|
||||||
#{pane_index}\
|
#{pane_index}\
|
||||||
|
\
|
||||||
}\
|
}\
|
||||||
|
#[align=center]\
|
||||||
|
#[fg=blue]#{pane_width}×#{pane_height}\
|
||||||
#[align=right] \
|
#[align=right] \
|
||||||
#[fg=yellow]%H:%M:%S\
|
#[fg=yellow]%H:%M:%S\
|
||||||
'
|
'
|
||||||
|
|
Loading…
Reference in a new issue