Open up Character Configuration --> Hotbars --> Sharing

You can then (un)check which hotbars will be shared between all classes. For instance, I have hotbars one through five unchecked so whenever I switch classes, those five bars are unique to said class.