1
0
Fork 0
mirror of synced 2024-12-22 14:51:05 -05:00

added tmux_conf_theme that controls whether theming is enabled or disabled (2), fixes #629

This commit is contained in:
Gregory Pakosz 2023-03-05 17:26:21 +01:00
parent f242584ba3
commit c5f598ea86

View file

@ -1099,9 +1099,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# }
# printf "#[fg=%s,bg=%s,none]%s", bg[j_], status_bg, mainsep
# }')
#
# status_left="$status_left "
# fi
# status_left="$status_left "
#
# # -- status-right style
#
@ -1174,6 +1173,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# }
# }')
# fi
# status_right=${status_right-}
#
# # -- clock ---------------------------------------------------------------
#
@ -1231,7 +1231,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# -e 's%#{hostname_ssh}%#(cut -c3- ~/.tmux.conf | sh -s _hostname #{pane_pid} #{b:pane_tty} true false #h #D)%g' \
# -e 's%#{hostname_full_ssh}%#(cut -c3- ~/.tmux.conf | sh -s _hostname #{pane_pid} #{b:pane_tty} true true #H #D)%g')
#
# status_left=$(printf '%s' "${status_left:-$(tmux show -gv status-left)}" | sed \
# status_left=$(printf '%s' "${status_left-$(tmux show -gv status-left)}" | sed \
# -e "s/#{pairing}/#{?session_many_attached,$tmux_conf_theme_pairing ,}/g" \
# -e "s/#{prefix}/#{?client_prefix,$tmux_conf_theme_prefix ,$(printf "$tmux_conf_theme_prefix" | sed -e 's/./ /g') }/g" \
# -e "s/#{mouse}/#{?mouse,$tmux_conf_theme_mouse ,$(printf "$tmux_conf_theme_mouse" | sed -e 's/./ /g') }/g" \
@ -1239,7 +1239,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# -e "s%#{circled_session_name}%#(cut -c3- ~/.tmux.conf | sh -s _circled #S)%g" \
# -e "s%#{root}%#{?#{==:#(cut -c3- ~/.tmux.conf | sh -s _username #{pane_pid} #{b:pane_tty} #D),root},$tmux_conf_theme_root,}%g")
#
# status_right=$(printf '%s' "${status_right:-$(tmux show -gv status-right)}" | sed \
# status_right=$(printf '%s' "${status_right-$(tmux show -gv status-right)}" | sed \
# -e "s/#{pairing}/#{?session_many_attached,$tmux_conf_theme_pairing ,}/g" \
# -e "s/#{prefix}/#{?client_prefix,$tmux_conf_theme_prefix ,$(printf "$tmux_conf_theme_prefix" | sed -e 's/./ /g') }/g" \
# -e "s/#{mouse}/#{?mouse,$tmux_conf_theme_mouse ,$(printf "$tmux_conf_theme_mouse" | sed -e 's/./ /g') }/g" \