tmux/↕
This commit is contained in:
parent
a347eb7b77
commit
84ece74f43
1 changed files with 10 additions and 11 deletions
21
sh/tmux.sh
21
sh/tmux.sh
|
@ -86,14 +86,6 @@ set-option -g status-fg white
|
||||||
|
|
||||||
# line 1
|
# line 1
|
||||||
set-option -g status-format[0] '\
|
set-option -g status-format[0] '\
|
||||||
#[fg=cyan]#{pane_current_path}\
|
|
||||||
\
|
|
||||||
#[align=right]\
|
|
||||||
#[fg=yellow]%H:%M:%S\
|
|
||||||
'
|
|
||||||
|
|
||||||
# line 2
|
|
||||||
set-option -g status-format[1] '\
|
|
||||||
#{W:\
|
#{W:\
|
||||||
#[fg=yellow]#{window_index}\
|
#[fg=yellow]#{window_index}\
|
||||||
\
|
\
|
||||||
|
@ -103,11 +95,11 @@ set-option -g status-format[1] '\
|
||||||
\
|
\
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=yellow]%Y-%m-%d\
|
#[fg=yellow]%H:%M:%S\
|
||||||
'
|
'
|
||||||
|
|
||||||
# line 3
|
# line 2
|
||||||
set-option -g status-format[2] '\
|
set-option -g status-format[1] '\
|
||||||
#[fg=yellow]#(tmux list-sessions | wc --lines) \
|
#[fg=yellow]#(tmux list-sessions | wc --lines) \
|
||||||
#{S:\
|
#{S:\
|
||||||
\
|
\
|
||||||
|
@ -118,6 +110,13 @@ set-option -g status-format[2] '\
|
||||||
}\
|
}\
|
||||||
#[fg=green] #{session_name} \
|
#[fg=green] #{session_name} \
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
|
#[fg=yellow]%Y-%m-%d\
|
||||||
|
'
|
||||||
|
|
||||||
|
# line 3
|
||||||
|
set-option -g status-format[2] '\
|
||||||
|
#[fg=cyan]#{pane_current_path}\
|
||||||
|
#[align=right]\
|
||||||
#[fg=yellow]#{host}\
|
#[fg=yellow]#{host}\
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue