fix incorrect color option being read for the time colors

This commit is contained in:
eeno 2021-07-26 23:30:03 +02:00
parent cd5e751419
commit 8ea687e327

View file

@ -169,7 +169,7 @@ main()
fi
if [ $plugin = "time" ]; then
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-weather-colors" "dark_purple white")
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-time-colors" "dark_purple white")
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