Description Usage Arguments Examples
Helper to get started with a new BitBar bitbar script
1 2 3 4 5 6 7 8 9 10 11 12 |
save_as |
full path (including scriptname.R) to where you want the file saved |
title, version, author, github_user, description, dependencies, image_url, about_url |
BitBar metadata passed on to the generator. |
refesh |
if non-blank this will cause the filename to include a refresh hint
in the |
1 2 3 4 5 6 7 | if (interactive()) {
new_bitbar_script(
save_as = file.path(bitbar_plugins_dir(), "my-awesome-bitbar-script.R"),
title = ":blue_heart:",
description = "Example BitBar Script")
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.