diff --git a/dot_tmux.conf.tmpl b/dot_tmux.conf.tmpl index a4bc7f2..b141e2b 100644 --- a/dot_tmux.conf.tmpl +++ b/dot_tmux.conf.tmpl @@ -124,8 +124,13 @@ set -g @zap_height '40%' # default: '60%' # Plugins set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'articicestudio/nord-tmux' -#set -g @plugin 'nordtheme/tmux' + +if-shell '[ "$(tmux -V | cut -d" " -f2)" = "$(echo -e "3.6\n$(tmux -V | cut -d" " -f2)" | sort -V | head -n1)" ]' \ + 'set -g @plugin "arcticicestudio/nord-tmux"' + +if-shell '[ "$(tmux -V | cut -d" " -f2)" = "$(echo -e "3.5\n$(tmux -V | cut -d" " -f2)" | sort -V | head -n1)" ]' \ + 'set -g @plugin "nordtheme/tmux"' + set -g @plugin 'AleckAstan/tmux-zap' set -g @plugin 'azorng/tmux-smooth-scroll'