You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
911 B
31 lines
911 B
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/add-entry.R
|
|
\name{add_entry}
|
|
\alias{add_entry}
|
|
\alias{add_separator}
|
|
\title{Add an entry to the menu}
|
|
\usage{
|
|
add_entry(text, type = c("direct", "output", "menu", "submenu"), ...)
|
|
|
|
add_separator()
|
|
}
|
|
\arguments{
|
|
\item{text}{to display. See \code{type}.}
|
|
|
|
\item{type}{type of entry.
|
|
\itemize{
|
|
\item \code{direct} has no dashes prefix and all output goes directly to the menubar. The first use of \code{direct} will set the menubar title.
|
|
\item \code{output} uses \verb{---},
|
|
\item \code{menu} uses \verb{--},
|
|
\item \code{submenu} uses \verb{----}
|
|
}}
|
|
|
|
\item{named}{BitBar entry parameters. See \code{References}.}
|
|
}
|
|
\description{
|
|
Use \code{add_separator()} to add a separator line and \code{add_entry()} to make new
|
|
menubar entries.
|
|
}
|
|
\references{
|
|
\href{https://github.com/matryer/bitbar#writing-plugins}{BitBar Plugin API Reference}
|
|
}
|
|
|