mirror of
1
0
Fork 0

Add additional conditions when deciding which spacer to use

When the same fg and bg colors
This commit is contained in:
Kenji Miyamoto 2021-03-10 14:30:53 +08:00 committed by GitHub
parent adec653b1a
commit 9b3f24dbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -918,10 +918,14 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# tmux_conf_theme_window_status_last_bg=${tmux_conf_theme_window_status_last_bg:-default}
# tmux_conf_theme_window_status_last_attr=${tmux_conf_theme_window_status_last_attr:-none}
#
# spacer=' '
# spacer_current=' '
# if [[ (x"$tmux_conf_theme_window_status_bg" = x"$tmux_conf_theme_status_bg" || x"$tmux_conf_theme_window_status_bg" = x"default") && (x"$tmux_conf_theme_window_status_current_fg" = x"$tmux_conf_theme_window_status_fg") ]]; then
# spacer=''
# spacer_current=' '
# else
# spacer=' '
# spacer_current=' '
# fi
# spacer_last=' '
#
# if [ x"$tmux_conf_theme_window_status_activity_bg" = x"$tmux_conf_theme_status_bg" ] || [ x"$tmux_conf_theme_window_status_activity_bg" = x"default" ] ; then
# spacer_activity=''
# spacer_last_activity="$spacer_last"