DISK light background should use dark font

Signed-off-by: z <z@e.com>
This commit is contained in:
z 2019-12-09 22:51:42 +08:00
commit 3c65cdc18b

View file

@ -45,8 +45,8 @@ __disk() {
t*|T*) unit="$ICON_TB" ;; t*|T*) unit="$ICON_TB" ;;
esac esac
[ -n "$size" ] || return [ -n "$size" ] || return
color b M W; printf "%s" "$size"; color -; color M W; printf "%s" "$unit"; color -; color b M k; printf "%s" "$size"; color -; color M k; printf "%s" "$unit"; color -;
color b M W; printf "%s" "$pct"; color -; color M W; printf "%s" "$PCT"; color --; color b M k; printf "%s" "$pct"; color -; color M k; printf "%s" "$PCT"; color --;
} }
# vi: syntax=sh ts=4 noexpandtab # vi: syntax=sh ts=4 noexpandtab