jstat

package
v0.0.0-...-ba5f1f8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBat

func NewBat(interval time.Duration, icons []string) *bat

func NewBluetooth

func NewBluetooth(scrollInterval time.Duration, limit int, icons []string) *bluetooth

func NewBri

func NewBri(icons []string) *bri

func NewCpu

func NewCpu(interval time.Duration, icons []string) *cpu

func NewDate

func NewDate(interval time.Duration, format string, icons []string) *date

func NewDisk

func NewDisk(interval time.Duration, paths, icons []string) *disk

func NewHyprland

func NewHyprland(scrollInterval time.Duration, limit int) *hyprland

func NewInternet

func NewInternet(interval, scrollInterval time.Duration, limit int, icons []string) *internet

func NewMusic

func NewMusic(scrollInterval time.Duration, format string, limit int) *music

func NewNetSpd

func NewNetSpd(interval time.Duration) *netSpd

func NewRam

func NewRam(interval time.Duration, icons []string) *ram

func NewSwap

func NewSwap(interval time.Duration, icons []string) *swap

func NewUptime

func NewUptime(interval time.Duration) *uptime

func NewUserHost

func NewUserHost() *userHost

func NewVol

func NewVol(discardInterval time.Duration, icons []string) *vol

Types

type Module

type Module interface {
	Init() error
	Run() (json.RawMessage, error)
	Sleep() error
	Cleanup() error
}

Jump to

Keyboard shortcuts

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