Merge pull request #114 from codeeno/fix-time-color-configuration

Fix incorrect color option being read for the time module
This commit is contained in:
Ethan Edwards 2021-07-29 13:53:04 -04:00 committed by GitHub
commit c5f46a5d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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