modules

package
v0.0.0-...-fda6f8b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PanicIf

func PanicIf(err error)

func PanicIfClosed

func PanicIfClosed(ok bool)

func Run

func Run(ch chan<- Message, cfg *Config)

Types

type Config

type Config struct {
	Date      dateConfig
	Ram       ramConfig
	Swap      swapConfig
	Cpu       cpuConfig
	Bri       briConfig
	Bat       batConfig
	Music     musicConfig
	Vol       volConfig
	Uptime    uptimeConfig
	User      userConfig
	Disk      diskConfig
	Hyprland  hyprlandConfig
	Net       netConfig
	Bluetooth bluetoothConfig
}

func DefaultConfig

func DefaultConfig() *Config

type Message

type Message struct {
	Name string
	Data json.RawMessage
}

Jump to

Keyboard shortcuts

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