1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-12 08:10:07 +00:00

use numerical values for default colors

This commit is contained in:
romkatv 2019-07-08 16:55:31 +02:00
parent 2ff8332d2d
commit 8a84f0e7f3

View file

@ -2661,11 +2661,11 @@ _p9k_init() {
fi fi
if [[ $POWERLEVEL9K_COLOR_SCHEME == light ]]; then if [[ $POWERLEVEL9K_COLOR_SCHEME == light ]]; then
DEFAULT_COLOR=white DEFAULT_COLOR=7
DEFAULT_COLOR_INVERTED=black DEFAULT_COLOR_INVERTED=0
else else
DEFAULT_COLOR=black DEFAULT_COLOR=0
DEFAULT_COLOR_INVERTED=white DEFAULT_COLOR_INVERTED=7
fi fi
typeset -gA _P9K_BATTERY_STATES=( typeset -gA _P9K_BATTERY_STATES=(