tmux/1,2
This commit is contained in:
parent
84ece74f43
commit
92478cfaf3
1 changed files with 8 additions and 6 deletions
14
sh/tmux.sh
14
sh/tmux.sh
|
@ -79,7 +79,7 @@ set-option -g pane-border-style fg=blue
|
||||||
set-option -g status 3
|
set-option -g status 3
|
||||||
|
|
||||||
# background color
|
# background color
|
||||||
set-option -g status-bg '#0C0C0C'
|
set-option -g status-bg '#101010'
|
||||||
|
|
||||||
# foreground color
|
# foreground color
|
||||||
set-option -g status-fg white
|
set-option -g status-fg white
|
||||||
|
@ -87,12 +87,14 @@ set-option -g status-fg white
|
||||||
# line 1
|
# line 1
|
||||||
set-option -g status-format[0] '\
|
set-option -g status-format[0] '\
|
||||||
#{W:\
|
#{W:\
|
||||||
|
#[bg=##202020] #[bg=##303030] \
|
||||||
#[fg=yellow]#{window_index}\
|
#[fg=yellow]#{window_index}\
|
||||||
\
|
\
|
||||||
#{?window_active,#[fg=green],\
|
#{?window_active,#[fg=green],\
|
||||||
#{?window_activity_flag,#[fg=red],#[fg=blue]}}\
|
#{?window_activity_flag,#[fg=red],#[fg=blue]}}\
|
||||||
#{window_name}\
|
#{window_name}\
|
||||||
\
|
#[bg=##303030] #[bg=##202020] \
|
||||||
|
#[bg=default] \
|
||||||
}\
|
}\
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=yellow]%H:%M:%S\
|
#[fg=yellow]%H:%M:%S\
|
||||||
|
@ -100,15 +102,15 @@ set-option -g status-format[0] '\
|
||||||
|
|
||||||
# line 2
|
# line 2
|
||||||
set-option -g status-format[1] '\
|
set-option -g status-format[1] '\
|
||||||
#[fg=yellow]#(tmux list-sessions | wc --lines) \
|
|
||||||
#{S:\
|
#{S:\
|
||||||
\
|
#[bg=##202020] #[bg=##303030] \
|
||||||
#{?session_many_attached,#[fg=red],\
|
#{?session_many_attached,#[fg=red],\
|
||||||
#{?session_attached,#[fg=magenta],#[fg=blue]}}\
|
#{?session_attached,#[fg=magenta],#[fg=blue]}}\
|
||||||
#{session_name}\
|
#{session_name}\
|
||||||
\
|
#[bg=##303030] #[bg=##202020] \
|
||||||
|
#[bg=default] \
|
||||||
}\
|
}\
|
||||||
#[fg=green] #{session_name} \
|
#[fg=green] #{session_name} \
|
||||||
#[align=right]\
|
#[align=right]\
|
||||||
#[fg=yellow]%Y-%m-%d\
|
#[fg=yellow]%Y-%m-%d\
|
||||||
'
|
'
|
||||||
|
|
Loading…
Reference in a new issue