https://blenderartists.org/t/shelves/1253560
This addon allows you to create custom buttons and buttons templates for Blender, they will be displayed in the header.
Quickly switch between shelves to ahve actions for different tasks at hand.
- go to the user preferences of blender, navigate to the Interface section and enable "Developer Extras"
This will allow you to copy the operator from Blender's UI elements
-
Go to the Shelves addon preferences and use the + button on the right side to add a new button, by default this will add a button with a hearth icon and a operator to open the user preferences
-
Navigate to the Icon Viewer Addon and open the Icon Viewer, select the icon you want and copy the Icon String over to your Icon Field in the Shelves addon.
-
Navigate to the action you want to bind to that button and copy the python command
Paste the python command in the operator field and remove the brackets at the end and the parts in the front (this might vary a bit from operator to operator)