-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
submenu example does not work #14
Comments
Also, how to recreate this? https://github.com/matryer/bitbar-plugins/blob/master/Tutorial/submenus.sh |
Good question, most of it can be recreated like so: $bb = new BitBar();
$places = $bb->newLine()
->setText("Places");
$placesData = ['London', 'Paris', 'Tokyo'];
foreach($placesData as $place) {
$places = $places->addSubMenu()
->newLine()
->setText($place);
}
$places->show(); However, there isn't any support for nested submenus just yet. This would need to change from the It'd be a big help if you could open a PR and continue this work, otherwise I'll try to find some more time to look into this later. Cheers! |
I'll try to find some time, cheers for work done so far |
@gingerbeardman |
@JonLaliberte no, and sadly no idea what the current state of affairs is with BitBar - sorry |
I see
The text was updated successfully, but these errors were encountered: