add_entry: Add an entry to the menu

Description Usage Arguments References

View source: R/add-entry.R

Description

Use add_separator() to add a separator line and add_entry() to make new menubar entries.

Usage

1
2
3
add_entry(text, type = c("direct", "submenu"), level = 1, ...)

add_separator()

Arguments

text

to display. See type.

type

type of entry.

  • direct has no dashes prefix and all output goes directly to the menubar. The first use of direct will set the menubar title.

  • submenu uses level repeats of -- to put these items in submenus

level

used with submenu option of type

named

BitBar entry parameters. See References.

References

BitBar Plugin API Reference


hrbrmstr/bitbar documentation built on June 23, 2020, 11:02 a.m.