From aea75c7ea490512f65753b04c1e7a26abf2b7f5a Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Wed, 28 Dec 2022 22:19:57 +0100 Subject: [PATCH] use %if ... %endif conditionals to enhance tmux_conf_theme_pane_active_border for tmux >= 3.2, resolves #490 --- .tmux.conf.local | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tmux.conf.local b/.tmux.conf.local index 559a685..46bda27 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -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 + q) tmux_conf_theme_pane_indicator="$tmux_conf_theme_colour_4"