From 3ef141f82912073c8d3e0405922b8a2083e47ad0 Mon Sep 17 00:00:00 2001 From: Magnus Larsen Date: Fri, 14 Jul 2023 11:00:47 +0200 Subject: [PATCH] [fix] 'synchronize-panes' is not runnable --- scripts/dracula.sh | 9 +++------ scripts/synchronize_panes.sh | 0 2 files changed, 3 insertions(+), 6 deletions(-) mode change 100644 => 100755 scripts/synchronize_panes.sh diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 9902754..2354e76 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -231,14 +231,11 @@ main() script="%a %m/%d %I:%M %p ${timezone} " fi fi - - else - continue - fi - - if [ $plugin = "synchronize-panes" ]; then + elif [ $plugin = "synchronize-panes" ]; then IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-synchronize-panes-colors" "cyan dark_gray") script="#($current_dir/synchronize_panes.sh $show_synchronize_panes_label)" + else + continue fi if $show_powerline; then diff --git a/scripts/synchronize_panes.sh b/scripts/synchronize_panes.sh old mode 100644 new mode 100755