Documentation
¶
Index ¶
- func NewServer(modules map[string]Module) (<-chan json.RawMessage, <-chan error)
- type Module
- func NewBattery(interval time.Duration, icons []string) Module
- func NewBluetooth(scrollInterval time.Duration, limit int, icons []string) Module
- func NewBrightness(icons []string) Module
- func NewCPU(interval time.Duration, icons []string) Module
- func NewDate(interval time.Duration, format string, icons []string) Module
- func NewDisk(interval time.Duration, paths, icons []string) Module
- func NewEthernet(scrollInterval, interval time.Duration, limit int) Module
- func NewHyprland(scrollInterval time.Duration, limit int) Module
- func NewInternet(scrollInterval, interval time.Duration, limit int, icons []string) Module
- func NewMPD(scrollInterval time.Duration, format string, limit int) Module
- func NewNetSpeed(interval time.Duration) Module
- func NewPipeWire(discardInterval time.Duration, icons []string) Module
- func NewRam(interval time.Duration, icons []string) Module
- func NewSwap(interval time.Duration, icons []string) Module
- func NewUptime(interval time.Duration) Module
- func NewUserHost() Module
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
func NewBattery ¶
NewBattery returns a Module that reports the battery information of the laptop.
func NewBluetooth ¶
func NewBrightness ¶
func NewInternet ¶
func NewNetSpeed ¶
func NewUserHost ¶
func NewUserHost() Module
Click to show internal directories.
Click to hide internal directories.