PluginDsl

com.bilalfazlani.swiftbar4s.dsl.PluginDsl

Attributes

Graph
Supertypes
trait Environment
trait HandlerDsl
trait MenuDsl
class Plugin
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case object DefaultValue

Attributes

Inherited from:
MenuDsl
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
HandlerDsl
Supertypes
class Object
trait Matchable
class Any
enum Iconize

Attributes

Inherited from:
MenuDsl
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum SFImage

Attributes

Inherited from:
MenuDsl
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object topLevel

Attributes

Inherited from:
MenuDsl
Supertypes
class Object
trait Matchable
class Any

Inherited types

type AlternateDsl = Boolean | DefaultValue.type

Attributes

Inherited from:
MenuDsl
type ColorDsl = String | DefaultValue.type

Attributes

Inherited from:
MenuDsl
type FontDsl = String | DefaultValue.type

Attributes

Inherited from:
MenuDsl

Attributes

Inherited from:
HandlerDsl
type LengthDsl = Int | DefaultValue.type

Attributes

Inherited from:
MenuDsl
type SFImageDsl = SFImage | None.type

Attributes

Inherited from:
MenuDsl
type ShortcutDsl = String | None.type

Attributes

Inherited from:
MenuDsl
type TextSizeDsl = Int | DefaultValue.type

Attributes

Inherited from:
MenuDsl
type ToolTipDsl = String | None.type

Attributes

Inherited from:
MenuDsl

Value members

Inherited methods

infix def ---: MenuFunction

Attributes

Inherited from:
MenuDsl
def action(text: String, action: String, metadata: Option[String], showTerminal: Boolean, refresh: Boolean, color: ColorDsl, textSize: TextSizeDsl, font: FontDsl, length: LengthDsl, image: Image, sfImage: SFImageDsl, templateImage: Image, checked: Boolean, ansi: Boolean, markdown: Boolean, iconize: Iconize, tooltip: ToolTipDsl, alternate: AlternateDsl, shortcut: ShortcutDsl): MenuFunction

Attributes

Inherited from:
MenuDsl
override def appHandler: Handler

Attributes

Definition Classes
Inherited from:
HandlerDsl
def appMenu: MenuItem | Publisher[MenuItem]

Attributes

Inherited from:
MenuDsl
def handle(action: String)(f: => Unit): HandlerContextFunction

Attributes

Inherited from:
HandlerDsl
def handle(action: String)(metadataF: MetadataFunction): HandlerContextFunction

Attributes

Inherited from:
HandlerDsl

Attributes

Inherited from:
HandlerDsl
def main(args: Array[String]): Unit

Attributes

Inherited from:
Plugin
def notify(title: String, subtitle: Option[String], body: Option[String], action: NotificationAction, silent: Boolean): Unit

Attributes

Inherited from:
NotificationDsl
def shellCommand(text: String, executable: String, showTerminal: Boolean, refresh: Boolean, color: ColorDsl, textSize: TextSizeDsl, font: FontDsl, length: LengthDsl, image: Image, sfImage: SFImageDsl, templateImage: Image, checked: Boolean, ansi: Boolean, markdown: Boolean, iconize: Iconize, tooltip: ToolTipDsl, alternate: AlternateDsl, shortcut: ShortcutDsl, params: String*): MenuFunction

Attributes

Inherited from:
MenuDsl
def stream(publisher: Publisher[MenuItem]): Unit

Attributes

Inherited from:
MenuDsl
def text(text: String, color: ColorDsl, textSize: TextSizeDsl, font: FontDsl, length: LengthDsl, image: Image, sfImage: SFImageDsl, templateImage: Image, checked: Boolean, ansi: Boolean, markdown: Boolean, iconize: Iconize, tooltip: ToolTipDsl, shortcut: ShortcutDsl): MenuFunction

Attributes

Inherited from:
MenuDsl

Inherited fields

var handlers: Map[String, HandlerFunction]

Attributes

Inherited from:
HandlerDsl
val parser: Parser

Attributes

Inherited from:
Plugin
lazy val promise: Promise[Unit]

Attributes

Inherited from:
Plugin

Givens

Inherited givens

Attributes

Inherited from:
MenuDsl
given runtime: Option[SwiftBarRuntime]

Attributes

Inherited from:
Environment

Extensions

Inherited extensions

extension [T](value: T)(value: T)
infix def ifDark[A <: T](value2: A)(using Option[SwiftBarRuntime]): T

Attributes

Inherited from:
MenuDsl