In WoW, how can I (via native features or add-ons) toggle between multiple spell bar configurations?
I've set up (with BarTender4 and Elvui) a PVP action bar configuration like this, with the macros and spells configured the best way for my preferences, where I can cast 32 spells using the 1-12 number keys on my mouse with the addition of ctrl or alt, like so:
I love this, I want to keep it this way. But some of these spells are not good for raids, some could be removed, some added. The macros behind most of the spells (hence the duplicates here, some of the macros triggering the spells behave in different ways) are perfect for PVP but not for raids.
It would be awesome if there was a feature or an add-on that would let me toggle between different configurations depending on what Im about to do, like pressing a hotkey or button switches to a different set of spell / macros on the spell bars. Can this be done?
UPDATED
I've asked the lads over at the ElvUI discord. They say that since bar layouts are stored on Blizzard's end, ElvUI profiles might not be usable in this way. They recommend an addon like https://www.curseforge.com/wow/addons/action-bar-profiles which allows users to save custom action bar profiles, though not all of them seem to be fully updated.
the below answer is not correct, but might help with the separation of the rest of the UI.
OLD ANSWER
nearly every WoW addon has support for what's called "Profiles". Profiles allow you to configure distinct configurations and switch between them at will.
A reddit post explains how to do so:
Type /ec to get into Elvui config.
Click "profiles" in the left hand column. Look at what the name of your current profile is. Remember it.
Now create a new profile. Name it Resto PvP (or whatever)
Near the bottom is an option to copy the layout from another profile. Choose your original profile.
Now you should have a new profile that's an exact duplicate of your old one. Adjust the spells/layouts/buttons on this PvP profile to your liking and you'll never have to set them again.
When you want to PvE, choose the original profile. When you want to PvP, choose the PvP profile.
Note: since you're using Bartender, you'll probably have to use the Bartender profile page. This also doesn't switch talents automatically if you use different talents per content type, you'll have to do that yourself.