Just a heads-up for this cool small icon indicator app:
https://github.com/andrebrait/prime-indicator
This fork recently got a major rework and update compared to earlier versions.
Basically a must have if you run a Laptop with Nvidia graphics (and the closed source drivers).