mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
Update tmux2k.sh
This commit is contained in:
parent
68e3895435
commit
0d12194bce
1 changed files with 4 additions and 4 deletions
|
|
@ -252,15 +252,15 @@ window_list() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $show_flags; then
|
if $show_flags; then
|
||||||
flags="#{?window_flags,#[fg=${light_red}]#{window_flags},}"
|
flags="#{?window_flags,#{window_flags},}"
|
||||||
current_flags="#{?window_flags,#[fg=${light_green}]#{window_flags},}"
|
current_flags="#{?window_flags,#{window_flags},}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $show_powerline; then
|
if $show_powerline; then
|
||||||
tmux set-window-option -g window-status-current-format \
|
tmux set-window-option -g window-status-current-format \
|
||||||
"#[fg=${wfg},bg=${bg_main}]${wl_sep}#[bg=${wfg}]${current_flags}#[fg=${wbg}]${spacer}#I:#W${spacer}#[fg=${wfg},bg=${bg_main}]${wr_sep}"
|
"#[fg=${wfg},bg=${bg_main}]${wl_sep}#[fg=${wbg},bg=${wfg}]${current_flags}${spacer}#I:#W${spacer}#[fg=${wfg},bg=${bg_main}]${wr_sep}"
|
||||||
tmux set-window-option -g window-status-format \
|
tmux set-window-option -g window-status-format \
|
||||||
"#[fg=${bg_alt},bg=${bg_main}]${wl_sep}#[bg=${bg_alt}]${flags}#[fg=${white}]${spacer}#I:#W${spacer}#[fg=${bg_alt},bg=${bg_main}]${wr_sep}"
|
"#[fg=${bg_alt},bg=${bg_main}]${wl_sep}#[fg=${white},bg=${bg_alt}]${flags}${spacer}#I:#W${spacer}#[fg=${bg_alt},bg=${bg_main}]${wr_sep}"
|
||||||
else
|
else
|
||||||
tmux set-window-option -g window-status-current-format "#[fg=${wbg},bg=${wfg}] #I:#W${spacer}${current_flags} "
|
tmux set-window-option -g window-status-current-format "#[fg=${wbg},bg=${wfg}] #I:#W${spacer}${current_flags} "
|
||||||
tmux set-window-option -g window-status-format "#[fg=${white},bg=${bg_alt}] #I:#W${spacer}${flags} "
|
tmux set-window-option -g window-status-format "#[fg=${white},bg=${bg_alt}] #I:#W${spacer}${flags} "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue