dracula.sh: fixed branch

This commit is contained in:
Yusuke Uchida 2021-09-18 21:46:48 +09:00
parent bca34814a4
commit 4b6bdaf9e2

View file

@ -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