A tool for adding, setting, and removing status bar items (with menus!) from the command line.
sbar set <id> <string> [menu-item-title:bash-command] [...] sbar remove <id>
sbar set face 😃 'Bye!:sbar remove face'
Creates a face in the status bar. The menu will have an option
Bye! that runs
sbar remove face getting rid of the menu it creates.
Also, if you leave out bash-command and the
sbar set face 😃 'this is disabled'
the menu item will appear disabled. You can still make an enabled item that does nothing by leaving the separator at the end of the argument.