From 4b6bdaf9e26a26d1f95aa159c3220b569eae10d1 Mon Sep 17 00:00:00 2001 From: Yusuke Uchida Date: Sat, 18 Sep 2021 21:46:48 +0900 Subject: [PATCH] dracula.sh: fixed branch --- scripts/dracula.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dracula.sh b/scripts/dracula.sh index 61853b5..8845e0c 100755 --- a/scripts/dracula.sh +++ b/scripts/dracula.sh @@ -183,10 +183,8 @@ main() if [ $plugin = "time" ]; then IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-time-colors" "dark_purple white") - case $use_arbitrary_time_format in + case $use_arbitrary_time_format in false) - script=${time_format} - true) if $show_day_month && $show_military ; then # military time and dd/mm script="%a %d/%m %R ${timezone} " elif $show_military; then # only military time @@ -196,6 +194,8 @@ main() else script="%a %m/%d %I:%M %p ${timezone} " fi + true) + script=${time_format} esac fi