From cbeb772f317d39e1b65e4d5de0e96e454dd1fcf4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 9 May 2022 02:28:01 +0200 Subject: [PATCH] Add compatibility conditional to tmux config --- .tmux.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index edc39c7..2bfca10 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -37,9 +37,15 @@ set-option -g set-titles-string "#T" set -g mouse off # THEME +%if "#{>=:#{version},3.2}" %hidden colour_status1="colour61" # violet %hidden colour_status2="colour97" # dark pink %hidden colour_inactive="colour237" # dark grey +%else +colour_status1="colour61" # violet +colour_status2="colour97" # dark pink +colour_inactive="colour237" # dark grey +%endif # Status line set -g status-style fg=${colour_status1}