To answer your direct question. No your supervisor will not be notified by the journal, this is not how publishing works. However, your supervisor will find out once this gets published.
However, this is the least of your worries. What you have done is taken an adversarial approach towards your relationship with your supervisor. In a lot of STEM fields, publications tend to be team-based, rather than individual, student-driven.
You must think about what you want your relationship with your advisor to be. It seems to me you took a line of work, it didn't work out how your advisor wanted, and he lost interest; not great on his part, definitely poor advising, but we only know one side of the story as to how this relationship and dynamic unfolded. Either way, it was clearly not healthy because you were not getting what you wanted, and neither was your advisor. When you brought in a separate professor, especially if you cc'd your advisor on the email, given the conventions in physics, there was likely an assumption that your advisor was directly involved in the work..... now he had to be involved or admit to the other professor (most faculty at least loosely know, or know of each other) that he gave up on you and told you to just do it yourself; i.e. admit to poor supervising. So to save face, he's back on the project.
Altogether this is not a good situation because it arose out of poor communication and not dealing with frustrations about missed or miscommunicated expectations on both of your parts. You had two options, extend the olive branch and use this as an opportunity to repair the scenario with your advisor as you improve the manuscript further, or double down on the individuality and exclude your advisor (again in some fields it is encouraged, in others it is highly problematic; some areas of physics it is grey, but in chemistry, surface physics, materials science it is often even grounds for dismissal).
So now you have this situation. You know what you did will lead to ill feelings, and are on a website trying to justify it to strangers that your advisor is incompetent anyway so why should he deserve any credit. That may all be true, but it doesn't help your day to day. I would say once this paper comes out, your relationship with your advisor, whatever it was prior, is functionally over. Is this what you want? Because what is the point of them advising you if you act fully independent, don't respect them (whether earned or not), and aren't willing to compromise towards an amicable solution/an investment towards the longer term.
Mentor/mentee relationships can be difficult because they involve humans, and these relationships, much like marriages often do take some work to be healthy.
So I guess, enjoy your paper if it gets published and move on. Can you graduate yet, or switch to another advisor?