So instead of putting: /hotbar display 1 on. And then having to make a second macro for : /hotbar display 1 off.
You instead trade the o in "on" to a zero, 0.
Like this: /hotbar display 1 0n
By doing this you can now toggle hiding and un hiding hotbars with one macro instead of 2.
Hope this helps anybody.