Shadow priest info/macros

Do you want to do this so you have damage and healing spells on the same bar? Because I don’t know how to swap bars in a macro (or if it’s even possible) but I do have a macro that will cast damage/healing spells based on the target. It can also work as a mouseover macro too.