I use the following macro for mindless grinding. Select the ? Icon.
#showtooltip
/castsequence reset=combat Strength of Earth Totem, Grace of Air Totem, Searing Totem, Healing Stream Totem
It rotates through those totems until I leave combat (once out of combat, it goes back to Strength of Earth). You can replace 'combat' with a number of seconds or another macro modifier.