From 50785c77a8a48887e8cff042e148ac3a6a22406b Mon Sep 17 00:00:00 2001 From: Tarek Galal Date: Tue, 1 Apr 2025 10:51:10 +0200 Subject: [PATCH] fix sys-temp being ignored --- scripts/dracula.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index c6767ceb..c97d678f 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -320,13 +320,11 @@ main() { IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-network-public-ip-colors" "cyan dark_gray") script="#($current_dir/network-public-ip.sh)" - else - continue - fi - - if [ $plugin = "sys-temp" ]; then + elif [ $plugin = "sys-temp" ]; then IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-sys-temp-colors" "green dark_gray") script="#($current_dir/sys_temp.sh)" + else + continue fi # edge styling