1
0
Fork 0
mirror of synced 2024-12-04 14:45:38 -05:00

use %if ... %endif conditionals to enhance tmux_conf_theme_pane_active_border for tmux >= 3.2, closes #490

This commit is contained in:
Gregory Pakosz 2022-12-28 22:19:57 +01:00
parent d9a9f81e4c
commit 009633e63d

View file

@ -102,6 +102,9 @@ tmux_conf_theme_pane_border_style=thin
# pane borders colours:
tmux_conf_theme_pane_border="$tmux_conf_theme_colour_2"
tmux_conf_theme_pane_active_border="$tmux_conf_theme_colour_4"
%if #{>=:#{version},3.2}
tmux_conf_theme_pane_active_border="#{?pane_in_mode,$tmux_conf_theme_colour_9,#{?synchronize-panes,$tmux_conf_theme_colour_16,$tmux_conf_theme_colour_4}}"
%endif
# pane indicator colours (when you hit <prefix> + q)
tmux_conf_theme_pane_indicator="$tmux_conf_theme_colour_4"