If it's winner takes all then you're right. The head of state is indeed in charge of all departments.
If it's more of a parliamentary system then the head of state needs to put x members in charge depending on the outcome of the vote. So if there's x percentage points of the population who voted for the opposing party then x percentage members of the cabinet should be of the other party.
When it's not winner takes all, it doesn't matter if a percentage of the population thinks someone is a weak leader. The other percentage will still have a say in the executive branch of the government. It becomes trickier as a leader because you not only have to have support of your own party but also from your coalition partners. (EU multi-party politics in a nut shell)
Before anyone responds, I'm not claiming this is better or worse than other systems!
I think you're confusing "parliamentary system" with something else.
Good point. I'm in the US, so it's overwhelmingly 'winner takes all.'