Documentation
¶
Index ¶
Constants ¶
View Source
const ( LEFT_CLICK = MouseIndex(iota + 1) MIDDLE_CLICK RIGHT_CLICK SCROLL_UP SCROLL_DOWN // Double click is kinda "meh", so avoid it DOUBLE_LEFT_CLICK DOUBLE_MIDDLE_CLICK DOUBLE_RIGHT_CLICK )
From https://github.com/polybar/polybar/wiki/Formatting#action-a
View Source
const ( FOREGROUND = FormatType("F") BACKGROUND = FormatType("B") REVERSE = FormatType("R") UNDERLINE = FormatType("u") OVERLINE = FormatType("o") FONT = FormatType("T") OFFSET = FormatType("o") )
from https://github.com/polybar/polybar/wiki/Formatting#format-tags
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionButton ¶
type ActionButton struct { Index MouseIndex Display, Command string }
func ActionOver ¶
func ActionOver(a ActionButton, index MouseIndex, command string) ActionButton
func (ActionButton) String ¶
func (a ActionButton) String() string
type FormatType ¶
type FormatType string
type MouseIndex ¶
type MouseIndex uint
type Polybar ¶
type Polybar struct {
// contains filtered or unexported fields
}
func (Polybar) HandleError ¶
func (Polybar) HandleNothingPlaying ¶
func (Polybar) PrintDisabled ¶
func (p Polybar) PrintDisabled()
Click to show internal directories.
Click to hide internal directories.