clock

package
v0.0.0-...-00fdae5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2016 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Identifier = "clock"

Variables

View Source
var CorruptedConfigErr = errors.New("Could not parse config options")

Functions

This section is empty.

Types

type Clock

type Clock struct {
	// How the time should be formatted. See http://strftime.org/ for reference.
	Format string `json:"format"`
	// The IANA Timezone database zone name to show the time for
	Location string `json:"location"`
	Color    string `json:"color"`

	// Details to identify clock for events
	Name     string
	Instance string
}

func (*Clock) Click

func (c *Clock) Click(e i3.ClickEvent) error

func (Clock) Generate

func (c Clock) Generate() ([]i3.Output, error)

Generate implements i3.Generator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL