modules

package
v0.0.0-...-27336c9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BatteryChannel = make(chan string)
View Source
var BrightnessChannel = make(chan string)
View Source
var CatChannel = make(chan string)
View Source
var CpuChannel = make(chan string)
View Source
var DateChannel = make(chan string)
View Source
var MemoryChannel = make(chan string)
View Source
var MusicChannel = make(chan string)

Functions

func BatteryFunction

func BatteryFunction(sleep float64, prefix string, dischargingIcons []string, suffix string, chargingIcons []string, notChargingIcon string)

func BrightnessFunction

func BrightnessFunction(prefix string, icons []string, suffix string)

func CatFunction

func CatFunction(sleep float64, prefix, icon, suffix, filepath string)

func CpuFunction

func CpuFunction(sleep float64, prefix, icon, suffix string, width uint64)

func DateFunction

func DateFunction(arguments DateArguments)

func MemoryFunction

func MemoryFunction(sleep float64, prefix, icon, suffix string, width uint64)

func MusicFunction

func MusicFunction(sleep float64, prefix, playIcon, suffix, pauseIcon string, max int)

func UserFunction

func UserFunction(prefix, icon, suffix string) string

Types

type DateArguments

type DateArguments struct {
	Sleep  time.Duration
	Prefix string
	Suffix string
	Icon   string
	Format string
}

Jump to

Keyboard shortcuts

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